[GRASS-SVN] r57885 - grass/branches/releasebranch_6_4/vector/v.vol.rst

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 30 12:24:15 PDT 2013


Author: neteler
Date: 2013-09-30 12:24:14 -0700 (Mon, 30 Sep 2013)
New Revision: 57885

Modified:
   grass/branches/releasebranch_6_4/vector/v.vol.rst/user3.c
Log:
v.vol.rst: avoid namespace pollution on AIX (backport from trunk, r56922)

Modified: grass/branches/releasebranch_6_4/vector/v.vol.rst/user3.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.vol.rst/user3.c	2013-09-30 19:00:59 UTC (rev 57884)
+++ grass/branches/releasebranch_6_4/vector/v.vol.rst/user3.c	2013-09-30 19:24:14 UTC (rev 57885)
@@ -46,6 +46,11 @@
 #include "points.h"
 #include <grass/bitmap.h>
 
+/* needed for AIX */
+#ifdef hz
+#undef hz
+#endif
+
 int secpar_loop(int ngstc, int nszc, int i)
 {
     double dnorm1, ro, dx2, dy2, dz2, grad1, grad2, slp, grad, oor1, oor2,



More information about the grass-commit mailing list