diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-10-10 00:17:22 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-10-10 00:17:22 -0400 |
commit | 19dc16f764492eb3b1cf7c57b7f645e214cb9b3a (patch) | |
tree | 1a40bc2a71ace7f53463f8c7f823b6419e648242 /cups/thread-private.h | |
parent | d65e20fe7c5b192522ba01865bfcbd3dbc0e448e (diff) | |
download | cups-19dc16f764492eb3b1cf7c57b7f645e214cb9b3a.tar.gz |
Migrate Windows conditional code to _WIN32 define.
Diffstat (limited to 'cups/thread-private.h')
-rw-r--r-- | cups/thread-private.h | 2 |
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); |