Skip to content

Commit

Permalink
#define GEOS_USE_ONLY_R_API to avoid accidental use of non reentrant …
Browse files Browse the repository at this point in the history
…GEOS API
  • Loading branch information
rouault committed Jun 30, 2014
1 parent 9c62fb1 commit 0c573e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mapgeos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

/*
Expand Down

0 comments on commit 0c573e4

Please sign in to comment.