From e4442b45cfd71c0bdcc20ad65985aaf44cb42caa Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 8 May 2014 14:54:16 +1000 Subject: Use COMPILER_MINGW define rather than __MINGW64__ This is necessary to build with win32 target using mingw-w64 version on Fedora 19 --- libs/pbd/pbd/localtime_r.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/pbd/pbd/localtime_r.h') diff --git a/libs/pbd/pbd/localtime_r.h b/libs/pbd/pbd/localtime_r.h index 532bb3ed12..2a4502481d 100644 --- a/libs/pbd/pbd/localtime_r.h +++ b/libs/pbd/pbd/localtime_r.h @@ -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 -- cgit v1.2.3