Przeglądaj źródła

r3.out.netcdf: adjust for PROJ 5+ API

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72466 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 7 lat temu
rodzic
commit
b4a796dd04
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      raster3d/r3.out.netcdf/main.c

+ 7 - 0
raster3d/r3.out.netcdf/main.c

@@ -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
 {