[GRASS-SVN] r43101 - grass/trunk/include
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 14 13:56:24 EDT 2010
Author: mmetz
Date: 2010-08-14 17:56:24 +0000 (Sat, 14 Aug 2010)
New Revision: 43101
Modified:
grass/trunk/include/config.h.in
Log:
config.h.in: LFS for wingrass
Modified: grass/trunk/include/config.h.in
===================================================================
--- grass/trunk/include/config.h.in 2010-08-14 16:24:10 UTC (rev 43100)
+++ grass/trunk/include/config.h.in 2010-08-14 17:56:24 UTC (rev 43101)
@@ -261,11 +261,6 @@
*/
#ifdef USE_LARGEFILES
-#undef HAVE_LARGEFILES
-
-#ifdef HAVE_LARGEFILES /* If we have working largefiles at all */
- /* This is not defined with glibc-2.1.3 */
-
#undef _FILE_OFFSET_BITS /* # of bits in off_t if settable */
#undef _LARGEFILE_SOURCE /* To make ftello() visible (HP-UX 10.20). */
#undef _LARGE_FILES /* Large file defined on AIX-style hosts. */
@@ -285,8 +280,6 @@
#define fseeko fseeko64
#define ftello ftello64
#define lseek lseek64
-#define tell tell64
-#define seek seek64
#define stat stat64
#define fstat fstat64
typedef struct _stati64 STRUCT_STAT;
@@ -294,7 +287,8 @@
typedef struct stat STRUCT_STAT;
#endif
-#endif /* HAVE_LARGEFILES */
+#else
+typedef struct stat STRUCT_STAT;
#endif /* USE_LARGEFILES */
/* define if langinfo.h exists */
More information about the grass-commit
mailing list