Browse Source

more fixes :(, #170

Stasik0 9 years ago
parent
commit
de4deda2aa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/ua_types.c

+ 2 - 1
src/ua_types.c

@@ -267,7 +267,8 @@ UA_TYPE_AS(UA_DateTime, UA_Int64)
 #define HUNDRED_NANOSEC_PER_SEC (HUNDRED_NANOSEC_PER_USEC * 1000000LL)
 #define HUNDRED_NANOSEC_PER_SEC (HUNDRED_NANOSEC_PER_USEC * 1000000LL)
 
 
 #ifdef __MINGW32__
 #ifdef __MINGW32__
-#ifndef timezone
+#ifndef _TIMEZONE_DEFINED
+#define _TIMEZONE_DEFINED
 struct timezone {
 struct timezone {
   int tz_minuteswest;
   int tz_minuteswest;
   int tz_dsttime;
   int tz_dsttime;