Commit 87b82b23 authored by Dzung Hoang's avatar Dzung Hoang

fix errors with BUILD_SHARED_LIBS=ON for Visual Studio 2017

parent 367518f6
...@@ -156,7 +156,7 @@ enum { PTHREAD_ONCE_INIT = 0 }; // important that this be 0! for SpinLock ...@@ -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) {
......
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