diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-19 02:24:03 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-23 19:37:01 +0300 |
commit | f94dd7ccee2014ab6240efbf5074b2f39dc32225 (patch) | |
tree | e6d0d64b7a247cdc6dcd9f1d47879684b58cbc1a /examples | |
parent | f6727cf97685fc2b200aa1b0baae35fb84468300 (diff) |
Fix VC compilation error, CLang warnings
Diffstat (limited to 'examples')
-rw-r--r-- | examples/performance/time.cxx | 4 |
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 ( |