Browse Source

HPCC-17160 do not define micro _LARGEFILE64_SOURCE on Windows

xwang2713 8 years ago
parent
commit
a983190d89
1 changed files with 2 additions and 0 deletions
  1. 2 0
      system/include/platform.h

+ 2 - 0
system/include/platform.h

@@ -67,9 +67,11 @@
 #endif
 #endif
 
 
 #define _FILE_OFFSET_BITS 64
 #define _FILE_OFFSET_BITS 64
+#ifndef _WIN32
 #ifndef _LARGEFILE64_SOURCE
 #ifndef _LARGEFILE64_SOURCE
 #define _LARGEFILE64_SOURCE 1
 #define _LARGEFILE64_SOURCE 1
 #endif
 #endif
+#endif
 #if defined(__linux__)
 #if defined(__linux__)
 #ifndef _GNU_SOURCE
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE
 #define _GNU_SOURCE