[GRASS-SVN] r47312 - grass/trunk/lib/python/ctypes

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jul 29 15:08:37 EDT 2011


Author: glynn
Date: 2011-07-29 12:08:37 -0700 (Fri, 29 Jul 2011)
New Revision: 47312

Modified:
   grass/trunk/lib/python/ctypes/Makefile
Log:
Add -D__GLIBC_HAVE_LONG_LONG when running ctypesgen (fix for 64-bit off_t)


Modified: grass/trunk/lib/python/ctypes/Makefile
===================================================================
--- grass/trunk/lib/python/ctypes/Makefile	2011-07-29 19:07:57 UTC (rev 47311)
+++ grass/trunk/lib/python/ctypes/Makefile	2011-07-29 19:08:37 UTC (rev 47312)
@@ -54,7 +54,7 @@
 
 SED = sed
 CTYPESGEN = ./ctypesgen.py
-CTYPESFLAGS = --cpp "$(CC) -E $(CPPFLAGS) $(LFS_CFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(DEFS) $(EXTRA_INC) $(INC)"
+CTYPESFLAGS = --cpp "$(CC) -E $(CPPFLAGS) $(LFS_CFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(DEFS) $(EXTRA_INC) $(INC) -D__GLIBC_HAVE_LONG_LONG"
 EXTRA_CLEAN_FILES := $(foreach M,$(MODULES),$(M).py) $(wildcard ctypesgencore/*.pyc) $(wildcard ctypesgencore/*/*.pyc)
 
 ifneq ($(MINGW),)



More information about the grass-commit mailing list