[GRASS-SVN] r72466 - grass/trunk/raster3d/r3.out.netcdf
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 21 07:44:43 PDT 2018
Author: mmetz
Date: 2018-03-21 07:44:42 -0700 (Wed, 21 Mar 2018)
New Revision: 72466
Modified:
grass/trunk/raster3d/r3.out.netcdf/main.c
Log:
r3.out.netcdf: adjust for PROJ 5+ API
Modified: grass/trunk/raster3d/r3.out.netcdf/main.c
===================================================================
--- grass/trunk/raster3d/r3.out.netcdf/main.c 2018-03-21 14:39:48 UTC (rev 72465)
+++ grass/trunk/raster3d/r3.out.netcdf/main.c 2018-03-21 14:44:42 UTC (rev 72466)
@@ -56,6 +56,13 @@
#define ERR(e) {fatalError(nc_strerror(e));}
+/* hack for PROJ 5+ */
+#ifdef HAVE_PROJ_H
+char *pj_get_def(PJ *, int );
+void pj_dalloc(void *);
+void pj_free(PJ *);
+#endif
+
/* structs */
typedef struct
{
More information about the grass-commit
mailing list