Remove PathScanner::run_scan and use PathScanner::run_scan_internal directly
[ardour.git] / libs / pbd / pbd / localtime_r.h
index 1e810ec084fd734e7c6eca197597e75a2027d6d4..2a4502481d8b139f8f77ea863c0f6f9978e581be 100644 (file)
@@ -7,9 +7,9 @@
 #define localtime_r( _clock, _result ) \
        ( *(_result) = *localtime( (_clock) ), (_result) )
 
-#elif defined __MINGW64__
+#elif defined COMPILER_MINGW
 
-#  ifdef (localtime_r)
+#  ifdef localtime_r
 #  undef localtime_r
 #  endif