[GRASS-SVN] r57886 - grass/branches/develbranch_6/vector/v.vol.rst

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


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

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

Modified: grass/branches/develbranch_6/vector/v.vol.rst/user3.c
===================================================================
--- grass/branches/develbranch_6/vector/v.vol.rst/user3.c	2013-09-30 19:24:14 UTC (rev 57885)
+++ grass/branches/develbranch_6/vector/v.vol.rst/user3.c	2013-09-30 19:24:45 UTC (rev 57886)
@@ -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