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:
parent
86a0f10ac7
commit
e4442b45cf
@ -7,7 +7,7 @@
|
|||||||
#define localtime_r( _clock, _result ) \
|
#define localtime_r( _clock, _result ) \
|
||||||
( *(_result) = *localtime( (_clock) ), (_result) )
|
( *(_result) = *localtime( (_clock) ), (_result) )
|
||||||
|
|
||||||
#elif defined __MINGW64__
|
#elif defined COMPILER_MINGW
|
||||||
|
|
||||||
# ifdef localtime_r
|
# ifdef localtime_r
|
||||||
# undef localtime_r
|
# undef localtime_r
|
||||||
|
Loading…
Reference in New Issue
Block a user