aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_threads.h')
-rw-r--r--lib/curl_threads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_threads.h b/lib/curl_threads.h
index d9cec6b29..6457cbb19 100644
--- a/lib/curl_threads.h
+++ b/lib/curl_threads.h
@@ -26,8 +26,8 @@
#if defined(USE_THREADS_POSIX)
# define CURL_STDCALL
# define curl_mutex_t pthread_mutex_t
-# define curl_thread_t pthread_t
-# define curl_thread_t_null (pthread_t)0
+# define curl_thread_t pthread_t *
+# define curl_thread_t_null (pthread_t *)0
# define Curl_mutex_init(m) pthread_mutex_init(m, NULL)
# define Curl_mutex_acquire(m) pthread_mutex_lock(m)
# define Curl_mutex_release(m) pthread_mutex_unlock(m)