You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/proj-win32.patch

16 lines
433 B

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