summaryrefslogtreecommitdiffstats
path: root/src/proj-win32.patch
blob: d643ad0d8e3105649453939a129076f5f18d208f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This file is part of mingw-cross-env.
See doc/index.html for further information.

diff -ru proj-4.7.0.orig/src/pj_mutex.c proj-4.7.0/src/pj_mutex.c
--- proj-4.7.0.orig/src/pj_mutex.c	2009-09-23 21:03:26.000000000 +0200
+++ proj-4.7.0/src/pj_mutex.c	2009-10-03 23:32:03.000000000 +0200
@@ -37,7 +37,7 @@
 #include <proj_api.h>
 #endif
 
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(MUTEX_pthread)
 #  define MUTEX_win32
 #endif