summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/localtime_r.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/localtime_r.h')
-rw-r--r--libs/pbd/pbd/localtime_r.h2
1 files changed, 1 insertions, 1 deletions
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