فهرست منبع

Fix compilation error due to r36161/r36181; 7.0 doesn't abuse the preprocessor

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@36342 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 سال پیش
والد
کامیت
a1f7064b2b
2فایلهای تغییر یافته به همراه2 افزوده شده و 4 حذف شده
  1. 2 0
      raster/r.los/main.c
  2. 0 4
      raster/r.los/point.h

+ 2 - 0
raster/r.los/main.c

@@ -50,6 +50,8 @@
 
 struct Cell_head window;	/*      database window         */
 
+struct point *DELAYED_DELETE;
+
 double east;
 double north;
 double obs_elev;

+ 0 - 4
raster/r.los/point.h

@@ -53,11 +53,7 @@ struct point *segment(int, int, int, double, double,
 	Initially set to NULL in main.c.
 */
 
-#ifdef MAIN
-struct point *DELAYED_DELETE;
-#else
 extern struct point *DELAYED_DELETE;
-#endif
 
 #endif