Skip to content
Snippets Groups Projects
Commit 16477da7 authored by deuce's avatar deuce
Browse files

Fix build for Mingw32.

_mkgmtime() however didn't appear until MSVCR80.dll, so the current use of
MSVCRT.DLL is broken and SyncTERM won't build.
parent 0644f599
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ DLLEXPORT struct tm* DLLCALL localtime32(const time32_t* t, struct tm* tm);
#endif
/* Microsoft's equivalent of GLIBC/BSD timegm() */
#ifdef _MSC_VER
#if defined(_MSC_VER) || defined(__MINGW32__)
#define timegm _mkgmtime
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment