[GRASS-SVN] r41532 - grass/branches/develbranch_6/include/iostream

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 23 16:02:02 EDT 2010


Author: neteler
Date: 2010-03-23 16:02:02 -0400 (Tue, 23 Mar 2010)
New Revision: 41532

Modified:
   grass/branches/develbranch_6/include/iostream/minmaxheap.h
Log:
math.h may define log2() as a macro; undefine it (backport)

Modified: grass/branches/develbranch_6/include/iostream/minmaxheap.h
===================================================================
--- grass/branches/develbranch_6/include/iostream/minmaxheap.h	2010-03-23 20:01:46 UTC (rev 41531)
+++ grass/branches/develbranch_6/include/iostream/minmaxheap.h	2010-03-23 20:02:02 UTC (rev 41532)
@@ -24,6 +24,10 @@
 #include <stdlib.h>
 #include <math.h>
 
+#ifdef log2
+#undef log2
+#endif
+
 #include <sstream>
 using namespace std;
 



More information about the grass-commit mailing list