[GRASS-SVN] r72327 - grass/trunk/include

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 6 03:12:45 PST 2018


Author: mmetz
Date: 2018-03-06 03:12:44 -0800 (Tue, 06 Mar 2018)
New Revision: 72327

Modified:
   grass/trunk/include/gis.h
Log:
change priority for defining grass_int64

Modified: grass/trunk/include/gis.h
===================================================================
--- grass/trunk/include/gis.h	2018-03-05 15:09:58 UTC (rev 72326)
+++ grass/trunk/include/gis.h	2018-03-06 11:12:44 UTC (rev 72327)
@@ -582,11 +582,11 @@
 typedef float FCELL;
 
 /* 64 bit signed integer */
-#ifdef __MINGW32__
-typedef __int64 grass_int64;
-#elif HAVE_INT64_T
+#if HAVE_INT64_T
 #include <sys/types.h>
 typedef int64_t grass_int64;
+#elif defined(__MINGW32__)
+typedef __int64 grass_int64;
 #elif HAVE_LONG_LONG_INT
 typedef long long int grass_int64;
 #elif HAVE_LARGEFILES



More information about the grass-commit mailing list