]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Fri, 12 Apr 2013 19:39:12 +0000 (12:39 -0700)
committerDmitry Torokhov <dtor@vmware.com>
Wed, 17 Apr 2013 19:16:42 +0000 (12:16 -0700)
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/include/safetime.h

index f387816f12ef9d1ff3e2010fcf644e53a8515e19..16230139be367162004c2abbeb90a26bbc6a8c0f 100644 (file)
 
 #ifdef _WIN32
 
-#if (defined(_STAT_DEFINED) || defined(_INC_TIME) || defined(_INC_TYPES))
-#error Use safetime.h instead of time.h, stat.h, and types.h
-#endif
-
 #undef  FMTTIME
 #define FMTTIME FMT64"d"
 
 #if (_MSC_VER < 1400)
 
+#if (defined(_STAT_DEFINED) || defined(_INC_TIME) || defined(_INC_TYPES))
+#error Use safetime.h instead of time.h, stat.h, and types.h
+#endif
+
 #define _STAT_DEFINED
 
 #include <time.h>