aboutsummaryrefslogtreecommitdiff
path: root/examples/performance/time.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/performance/time.cxx')
-rw-r--r--examples/performance/time.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/performance/time.cxx b/examples/performance/time.cxx
index cfb6d09..ae5935f 100644
--- a/examples/performance/time.cxx
+++ b/examples/performance/time.cxx
@@ -3,7 +3,7 @@
#include "time.hxx"
-#if defined (WIN32) || defined (__WIN32__)
+#ifdef _WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h> // GetSystemTimeAsFileTime
#else
@@ -19,7 +19,7 @@ namespace os
time::
time ()
{
-#if defined (WIN32) || defined (__WIN32__)
+#ifdef _WIN32
FILETIME ft;
GetSystemTimeAsFileTime (&ft);
unsigned long long v (