summaryrefslogtreecommitdiff
path: root/cups/thread-private.h
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-10-10 00:17:22 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-10-10 00:17:22 -0400
commit19dc16f764492eb3b1cf7c57b7f645e214cb9b3a (patch)
tree1a40bc2a71ace7f53463f8c7f823b6419e648242 /cups/thread-private.h
parentd65e20fe7c5b192522ba01865bfcbd3dbc0e448e (diff)
downloadcups-19dc16f764492eb3b1cf7c57b7f645e214cb9b3a.tar.gz
Migrate Windows conditional code to _WIN32 define.
Diffstat (limited to 'cups/thread-private.h')
-rw-r--r--cups/thread-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/thread-private.h b/cups/thread-private.h
index 08e669c8e..69617b536 100644
--- a/cups/thread-private.h
+++ b/cups/thread-private.h
@@ -40,7 +40,7 @@ typedef pthread_key_t _cups_threadkey_t;
# define _cupsThreadGetData(k) pthread_getspecific(k)
# define _cupsThreadSetData(k,p) pthread_setspecific(k,p)
-# elif defined(WIN32) /* Windows threading */
+# elif defined(_WIN32) /* Windows threading */
# include <winsock2.h>
# include <windows.h>
typedef void *(__stdcall *_cups_thread_func_t)(void *arg);