浏览代码

config.h: fix compilation on mingw32-w64
(merge https://trac.osgeo.org/grass/changeset/67055 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@67084 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 9 年之前
父节点
当前提交
8d16f79b88
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/config.h.in

+ 1 - 1
include/config.h.in

@@ -276,7 +276,7 @@
 
 #endif
 
-#if defined(__MINGW32__)
+#if defined(__MINGW32__) && (!defined(_FILE_OFFSET_BITS) || (_FILE_OFFSET_BITS != 64))
 
 /* add/remove as needed */
 /* redefine off_t */