[GRASS-SVN] r72450 - grass/trunk/include

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 20 15:47:36 PDT 2018


Author: mmetz
Date: 2018-03-20 15:47:36 -0700 (Tue, 20 Mar 2018)
New Revision: 72450

Modified:
   grass/trunk/include/gprojects.h
Log:
gprojects.h: add PJ_FWD/PJ_INV for old PROJ 4 API

Modified: grass/trunk/include/gprojects.h
===================================================================
--- grass/trunk/include/gprojects.h	2018-03-20 22:40:21 UTC (rev 72449)
+++ grass/trunk/include/gprojects.h	2018-03-20 22:47:36 UTC (rev 72450)
@@ -25,6 +25,8 @@
 #define DEG_TO_RAD   .017453292519943296
 #else
 #include <proj_api.h>
+#define PJ_FWD 	 1
+#define PJ_INV 	-1
 #endif
 #ifdef HAVE_OGR
 #    include <ogr_srs_api.h>



More information about the grass-commit mailing list