aboutsummaryrefslogtreecommitdiff
path: root/src/pj_mutex.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-18 22:02:44 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-26 10:08:54 +0100
commit8198bb580a5640415e09b8fd3533ffaa11317ca6 (patch)
tree61b68db0d946e19c3b71f590320babda05886510 /src/pj_mutex.cpp
parent8211f48b1ac6c941f46a8f2df90bdbfdcbc85981 (diff)
downloadPROJ-8198bb580a5640415e09b8fd3533ffaa11317ca6.tar.gz
PROJ-8198bb580a5640415e09b8fd3533ffaa11317ca6.zip
cpp conversion: fix remaining warnings
Diffstat (limited to 'src/pj_mutex.cpp')
-rw-r--r--src/pj_mutex.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pj_mutex.cpp b/src/pj_mutex.cpp
index 61487cec..3752324c 100644
--- a/src/pj_mutex.cpp
+++ b/src/pj_mutex.cpp
@@ -34,7 +34,9 @@
#endif
/* For PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#ifndef _WIN32
#include "proj_config.h"