瀏覽代碼

HPCC-17160 do not define micro _LARGEFILE64_SOURCE on Windows

xwang2713 8 年之前
父節點
當前提交
a983190d89
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      system/include/platform.h

+ 2 - 0
system/include/platform.h

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