Explorar o código

remove AIX hack

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56936 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz %!s(int64=12) %!d(string=hai) anos
pai
achega
f5689983af
Modificáronse 1 ficheiros con 1 adicións e 8 borrados
  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