[GRASS-SVN] r36342 - grass/trunk/raster/r.los

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 12 07:33:41 EDT 2009


Author: glynn
Date: 2009-03-12 07:33:40 -0400 (Thu, 12 Mar 2009)
New Revision: 36342

Modified:
   grass/trunk/raster/r.los/main.c
   grass/trunk/raster/r.los/point.h
Log:
Fix compilation error due to r36161/r36181; 7.0 doesn't abuse the preprocessor


Modified: grass/trunk/raster/r.los/main.c
===================================================================
--- grass/trunk/raster/r.los/main.c	2009-03-12 10:03:37 UTC (rev 36341)
+++ grass/trunk/raster/r.los/main.c	2009-03-12 11:33:40 UTC (rev 36342)
@@ -50,6 +50,8 @@
 
 struct Cell_head window;	/*      database window         */
 
+struct point *DELAYED_DELETE;
+
 double east;
 double north;
 double obs_elev;

Modified: grass/trunk/raster/r.los/point.h
===================================================================
--- grass/trunk/raster/r.los/point.h	2009-03-12 10:03:37 UTC (rev 36341)
+++ grass/trunk/raster/r.los/point.h	2009-03-12 11:33:40 UTC (rev 36342)
@@ -53,11 +53,7 @@
 	Initially set to NULL in main.c.
 */
 
-#ifdef MAIN
-struct point *DELAYED_DELETE;
-#else
 extern struct point *DELAYED_DELETE;
-#endif
 
 #endif
 



More information about the grass-commit mailing list