From f94dd7ccee2014ab6240efbf5074b2f39dc32225 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 19 Nov 2016 02:24:03 +0300 Subject: Fix VC compilation error, CLang warnings --- examples/performance/time.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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 // 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 ( -- cgit v1.1