[GRASS-SVN] r41530 - grass/trunk/include/iostream
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Mar 23 10:01:22 EDT 2010
Author: glynn
Date: 2010-03-23 10:01:22 -0400 (Tue, 23 Mar 2010)
New Revision: 41530
Modified:
grass/trunk/include/iostream/minmaxheap.h
Log:
math.h may define log2() as a macro; undefine it
Modified: grass/trunk/include/iostream/minmaxheap.h
===================================================================
--- grass/trunk/include/iostream/minmaxheap.h 2010-03-23 12:56:28 UTC (rev 41529)
+++ grass/trunk/include/iostream/minmaxheap.h 2010-03-23 14:01:22 UTC (rev 41530)
@@ -42,6 +42,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