Unverified Commit 8d7a107d authored by Sergiu Deitsch's avatar Sergiu Deitsch Committed by GitHub

Merge pull request #344 from dzung-hoang/master

Fix errors with BUILD_SHARED_LIBS=ON for Visual Studio 2017 (fixes #343)
parents 367518f6 87b82b23
......@@ -156,7 +156,7 @@ enum { PTHREAD_ONCE_INIT = 0 }; // important that this be 0! for SpinLock
#endif // HAVE_PTHREAD
#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
inline char* strerror_r(int errnum, char* buf, size_t buflen) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment