diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2017-08-20 00:45:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-20 00:45:16 +0200 |
| commit | 5a622233d7d79cde8c9d405c6bf8b9443e1b5b90 (patch) | |
| tree | b284e09322cb20eba3c81f97fd7cd0ae260103dc | |
| parent | 231df5a72fcd5d37c21e759f349362574c9613ef (diff) | |
| parent | 181cd2f3374f3a030b198dc4d2aace467637b584 (diff) | |
| download | PROJ-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.c | 2 |
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 |
