13
0

Use COMPILER_MINGW define rather than __MINGW64__

This is necessary to build with win32 target using mingw-w64 version
on Fedora 19
This commit is contained in:
Tim Mayberry 2014-05-08 14:54:16 +10:00
parent 86a0f10ac7
commit e4442b45cf

View File

@ -7,7 +7,7 @@
#define localtime_r( _clock, _result ) \
( *(_result) = *localtime( (_clock) ), (_result) )
#elif defined __MINGW64__
#elif defined COMPILER_MINGW
# ifdef localtime_r
# undef localtime_r