diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-03-04 16:11:03 +0100 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-03-04 16:11:03 +0100 |
commit | 3c1b9145c78de3370c548ead90537c91d9803073 (patch) | |
tree | 69f107053962829af30e44d5e128d45610c723ba /tests/server/util.h | |
parent | 9aaca09044de4d4116822f25d2cf9c780d7465ce (diff) | |
download | curl-3c1b9145c78de3370c548ead90537c91d9803073.tar.gz |
tests: align some Windows sleep defines with each other
Diffstat (limited to 'tests/server/util.h')
-rw-r--r-- | tests/server/util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/server/util.h b/tests/server/util.h index 7b4ec1626..236d4550e 100644 --- a/tests/server/util.h +++ b/tests/server/util.h @@ -37,16 +37,16 @@ extern const char *path; /* global variable, log file name */ extern const char *serverlogfile; -#ifdef WIN32 +#if defined(WIN32) || defined(_WIN32) #include <process.h> #include <fcntl.h> -#define sleep(sec) Sleep ((sec)*1000) +#define sleep(sec) Sleep ((sec)*1000) #undef perror #define perror(m) win32_perror(m) void win32_perror(const char *msg); -#endif /* WIN32 */ +#endif /* WIN32 or _WIN32 */ #ifdef USE_WINSOCK void win32_init(void); |