summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice-glue/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice-glue/thread.h')
-rw-r--r--include/libimobiledevice-glue/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libimobiledevice-glue/thread.h b/include/libimobiledevice-glue/thread.h
index 76646b8..a29573c 100644
--- a/include/libimobiledevice-glue/thread.h
+++ b/include/libimobiledevice-glue/thread.h
@@ -25,7 +25,7 @@
#include <stddef.h>
#include <libimobiledevice-glue/glue.h>
-#ifdef WIN32
+#ifdef _WIN32
typedef void* HANDLE;
typedef HANDLE THREAD_T;
#pragma pack(push, 8)
@@ -76,7 +76,7 @@ LIMD_GLUE_API int thread_alive(THREAD_T thread);
LIMD_GLUE_API int thread_cancel(THREAD_T thread);
-#ifdef WIN32
+#ifdef _WIN32
#undef HAVE_THREAD_CLEANUP
#else
#ifdef HAVE_PTHREAD_CANCEL