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 22:51:11 +0100 |
| commit | be5e7192604b038cf836f57806b5cd96a3ea687a (patch) | |
| tree | 6f754e9876e4cfc2052f8656cb0f26a072c569cd /src | |
| parent | c40c91610e5fe98511ec24669044abf0a7bbc2fa (diff) | |
| download | PROJ-be5e7192604b038cf836f57806b5cd96a3ea687a.tar.gz PROJ-be5e7192604b038cf836f57806b5cd96a3ea687a.zip | |
mutex.cpp: remove _XOPEN_SOURCE definition that causes compilation problem on netBSD 8 and is useless on Linux
Diffstat (limited to 'src')
| -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 |
