Permalink
Browse files

#define GEOS_USE_ONLY_R_API to avoid accidental use of non reentrant …

…GEOS API
  • Loading branch information...
rouault committed Jun 30, 2014
1 parent 9c62fb1 commit 0c573e45783477e8fb8aa2a3a8cbe565dd67836c
Showing with 4 additions and 0 deletions.
  1. +4 −0 mapgeos.c
View
@@ -31,6 +31,10 @@
#ifdef USE_GEOS
// To avoid accidental use of non reentrant GEOS API.
// (check only effective in GEOS >= 3.5)
#define GEOS_USE_ONLY_R_API
#include <geos_c.h>
/*

0 comments on commit 0c573e4

Please sign in to comment.