[mapserver-commits] r12225 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:08:42 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:08:42 -0700 (Fri, 26 Aug 2011)
New Revision: 12225

Modified:
   trunk/mapserver/mapcache/src/util.c
Log:
tweak building: automatically run autoconf, make clean when important files have been updated
thomas.bonfort | 2011-01-10 09:17:33 +0100 (Mon, 10 Jan 2011)

Modified: trunk/mapserver/mapcache/src/util.c
===================================================================
--- trunk/mapserver/mapcache/src/util.c	2011-08-26 11:08:37 UTC (rev 12224)
+++ trunk/mapserver/mapcache/src/util.c	2011-08-26 11:08:42 UTC (rev 12225)
@@ -22,6 +22,9 @@
 #include <math.h>
 #include <unistd.h>
 
+#ifndef M_PI
+#define M_PI 3.14159265358979323846264338327
+#endif
 const double geocache_meters_per_unit[GEOCACHE_UNITS_COUNT] = {1.0,6378137.0 * 2.0 * M_PI / 360,0.3048};
 
 int geocache_util_extract_int_list(geocache_context *ctx, const char* cargs, const char sep, int **numbers,



More information about the mapserver-commits mailing list