diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-02-26 18:22:43 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-02-26 18:38:44 +0100 |
| commit | c715ac511777707f9302246684e3118a9cc51c13 (patch) | |
| tree | 6f754e9876e4cfc2052f8656cb0f26a072c569cd /src/mutex.cpp | |
| parent | 2db1400b34c219764b0000d0ad7b0f589f053432 (diff) | |
| download | PROJ-c715ac511777707f9302246684e3118a9cc51c13.tar.gz PROJ-c715ac511777707f9302246684e3118a9cc51c13.zip | |
mutex.cpp: remove _XOPEN_SOURCE definition that causes compilation problem on netBSD 8 and is useless on Linux
Diffstat (limited to 'src/mutex.cpp')
| -rw-r--r-- | src/mutex.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mutex.cpp b/src/mutex.cpp index 12251f0f..da415e55 100644 --- a/src/mutex.cpp +++ b/src/mutex.cpp @@ -25,14 +25,6 @@ * DEALINGS IN THE SOFTWARE. *****************************************************************************/ - -/* projects.h and windows.h conflict - avoid this! */ - -#if defined(MUTEX_pthread) && !defined(_XOPEN_SOURCE) && !defined(__sun) -/* For pthread_mutexattr_settype */ -#define _XOPEN_SOURCE 500 -#endif - /* For PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ #ifndef _GNU_SOURCE #define _GNU_SOURCE |
