浏览代码

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