Merge pull request #344 from dzung-hoang/master
Fix errors with BUILD_SHARED_LIBS=ON for Visual Studio 2017 (fixes #343)
This commit is contained in:
commit
8d7a107d68
@ -156,7 +156,7 @@ enum { PTHREAD_ONCE_INIT = 0 }; // important that this be 0! for SpinLock
|
|||||||
#endif // HAVE_PTHREAD
|
#endif // HAVE_PTHREAD
|
||||||
|
|
||||||
#ifndef HAVE_LOCALTIME_R
|
#ifndef HAVE_LOCALTIME_R
|
||||||
extern struct tm* GOOGLE_GLOG_DLL_DECL localtime_r(const time_t* timep, struct tm* result);
|
extern GOOGLE_GLOG_DLL_DECL struct tm* localtime_r(const time_t* timep, struct tm* result);
|
||||||
#endif // not HAVE_LOCALTIME_R
|
#endif // not HAVE_LOCALTIME_R
|
||||||
|
|
||||||
inline char* strerror_r(int errnum, char* buf, size_t buflen) {
|
inline char* strerror_r(int errnum, char* buf, size_t buflen) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user