فهرست منبع

remove AIX hack

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56936 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 سال پیش
والد
کامیت
f5689983af
1فایلهای تغییر یافته به همراه1 افزوده شده و 8 حذف شده
  1. 1 8
      include/config.h.in

+ 1 - 8
include/config.h.in

@@ -302,19 +302,12 @@ typedef struct _stati64 STRUCT_STAT;
 
 #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 */
 
 
 #ifndef _STRUCT_STAT_
 #define _STRUCT_STAT_
+#include <sys/stat.h>
 typedef struct stat STRUCT_STAT;
 #endif