From 8198bb580a5640415e09b8fd3533ffaa11317ca6 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 18 Dec 2018 22:02:44 +0100 Subject: cpp conversion: fix remaining warnings --- src/pj_mutex.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pj_mutex.cpp') 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" -- cgit v1.2.3