Harmonize uses of _WIN32 macro
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>
Tue, 6 Mar 2018 17:43:42 +0000 (09:43 -0800)
committerClifford Wolf <clifford@clifford.at>
Sun, 11 Mar 2018 15:01:30 +0000 (16:01 +0100)
kernel/log.h

index a8aa58a9e5ac7276fc7fb424e31afc61ddca405e..90a12df36cfc654041188d65fc5fe6eee0ce676c 100644 (file)
@@ -173,7 +173,7 @@ struct PerformanceTimer
        }
 
        static int64_t query() {
-#  if _WIN32
+#  ifdef _WIN32
                return 0;
 #  elif defined(_POSIX_TIMERS) && (_POSIX_TIMERS > 0)
                struct timespec ts;