[GRASS-SVN] r56923 - grass/trunk/include
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 25 08:48:54 PDT 2013
Author: mmetz
Date: 2013-06-25 08:48:54 -0700 (Tue, 25 Jun 2013)
New Revision: 56923
Modified:
grass/trunk/include/config.h.in
Log:
AIX LFS support
Modified: grass/trunk/include/config.h.in
===================================================================
--- grass/trunk/include/config.h.in 2013-06-25 15:43:32 UTC (rev 56922)
+++ grass/trunk/include/config.h.in 2013-06-25 15:48:54 UTC (rev 56923)
@@ -302,6 +302,14 @@
#endif /* MINGW32 LFS */
+/* IBM AIX:
+ * -D_LARGE_FILES should be sufficient,
+ * but on some systems, struct stat64 must be set explicitly */
+#if defined(_AIX) && defined(__GNUC__)
+#define _STRUCT_STAT_
+typedef struct stat64 STRUCT_STAT;
+#endif
+
#endif /* HAVE_LARGEFILES */
More information about the grass-commit
mailing list