From: VMware, Inc <> Date: Fri, 12 Apr 2013 19:39:12 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2013.04.16-1098359~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9453a4dce427bca6003d15caab871e1b608df1a9;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/lib/include/safetime.h b/open-vm-tools/lib/include/safetime.h index f387816f1..16230139b 100644 --- a/open-vm-tools/lib/include/safetime.h +++ b/open-vm-tools/lib/include/safetime.h @@ -46,15 +46,15 @@ #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