Updated patch for new cURL version.
This commit is contained in:
parent
51b38b822a
commit
1f902c076e
@ -1,17 +1,13 @@
|
|||||||
lib/curl_threads.h | 8 +-------
|
diff --git "a/lib/curl_threads.h" "b/lib/curl_threads.h"
|
||||||
1 file changed, 1 insertion(+), 7 deletions(-)
|
index 27a478d..a8fd9cb 100644
|
||||||
|
--- "a/lib/curl_threads.h"
|
||||||
diff --git a/lib/curl_threads.h b/lib/curl_threads.h
|
+++ "b/lib/curl_threads.h"
|
||||||
index 63392f6..8a40108 100644
|
@@ -39,12 +39,7 @@
|
||||||
--- a/lib/curl_threads.h
|
|
||||||
+++ b/lib/curl_threads.h
|
|
||||||
@@ -39,13 +39,7 @@
|
|
||||||
# define curl_mutex_t CRITICAL_SECTION
|
# define curl_mutex_t CRITICAL_SECTION
|
||||||
# define curl_thread_t HANDLE
|
# define curl_thread_t HANDLE
|
||||||
# define curl_thread_t_null (HANDLE)0
|
# define curl_thread_t_null (HANDLE)0
|
||||||
-# if !defined(_WIN32_WINNT) || !defined(_WIN32_WINNT_VISTA) || \
|
-# if !defined(_WIN32_WINNT) || !defined(_WIN32_WINNT_VISTA) || \
|
||||||
- (_WIN32_WINNT < _WIN32_WINNT_VISTA) || \
|
- (_WIN32_WINNT < _WIN32_WINNT_VISTA)
|
||||||
- (defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR))
|
|
||||||
-# define Curl_mutex_init(m) InitializeCriticalSection(m)
|
-# define Curl_mutex_init(m) InitializeCriticalSection(m)
|
||||||
-# else
|
-# else
|
||||||
-# define Curl_mutex_init(m) InitializeCriticalSectionEx(m, 0, 1)
|
-# define Curl_mutex_init(m) InitializeCriticalSectionEx(m, 0, 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user