aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2016-07-14 12:55:09 +0200
committerKristian Evers <kristianevers@gmail.com>2016-07-14 12:55:09 +0200
commit06a708de78456e215c1782b469ab5d3ff7ce3fc3 (patch)
tree7ffd01d6402193a5ea495e487f85740e2379c91c /src
parentb9b92997206fd4adef945240dff8cfe97fcfe12c (diff)
downloadPROJ-06a708de78456e215c1782b469ab5d3ff7ce3fc3.tar.gz
PROJ-06a708de78456e215c1782b469ab5d3ff7ce3fc3.zip
Suppressed warning about redefining MUTEX_win32
Diffstat (limited to 'src')
-rw-r--r--src/pj_mutex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pj_mutex.c b/src/pj_mutex.c
index 2f6533be..1590daa6 100644
--- a/src/pj_mutex.c
+++ b/src/pj_mutex.c
@@ -43,7 +43,9 @@
/* on win32 we always use win32 mutexes, even if pthreads are available */
#if defined(_WIN32) && !defined(MUTEX_stub)
+#ifndef MUTEX_win32
# define MUTEX_win32
+#endif
# undef MUTEX_pthread
#endif