aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2017-08-20 00:45:16 +0200
committerGitHub <noreply@github.com>2017-08-20 00:45:16 +0200
commit5a622233d7d79cde8c9d405c6bf8b9443e1b5b90 (patch)
treeb284e09322cb20eba3c81f97fd7cd0ae260103dc
parent231df5a72fcd5d37c21e759f349362574c9613ef (diff)
parent181cd2f3374f3a030b198dc4d2aace467637b584 (diff)
downloadPROJ-5a622233d7d79cde8c9d405c6bf8b9443e1b5b90.tar.gz
PROJ-5a622233d7d79cde8c9d405c6bf8b9443e1b5b90.zip
Merge pull request #553 from edechaux/master
Fix the Solaris 11.3 compilation error
-rw-r--r--src/pj_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_mutex.c b/src/pj_mutex.c
index 1590daa6..2bcf31a7 100644
--- a/src/pj_mutex.c
+++ b/src/pj_mutex.c
@@ -28,7 +28,7 @@
/* projects.h and windows.h conflict - avoid this! */
-#if defined(MUTEX_pthread) && !defined(_XOPEN_SOURCE)
+#if defined(MUTEX_pthread) && !defined(_XOPEN_SOURCE) && !defined(__sun)
/* For pthread_mutexattr_settype */
#define _XOPEN_SOURCE 500
#endif