diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-02-18 18:39:31 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-02-18 18:39:31 +0000 |
commit | 8b28e693b25992174be3e865ea444414713b27ec (patch) | |
tree | e13d3d19e2c9436220a920fb7ae00772faf62da2 /src/testspdy | |
parent | b7dabd9efbd86724944f9a1e79bc04dc4e6cc9f3 (diff) | |
download | libmicrohttpd-8b28e693b25992174be3e865ea444414713b27ec.tar.gz libmicrohttpd-8b28e693b25992174be3e865ea444414713b27ec.zip |
add sleep() and usleep() replacement for W32
Diffstat (limited to 'src/testspdy')
-rw-r--r-- | src/testspdy/test_proxies.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testspdy/test_proxies.c b/src/testspdy/test_proxies.c index 38d5f3cb..751c2a7a 100644 --- a/src/testspdy/test_proxies.c +++ b/src/testspdy/test_proxies.c | |||
@@ -34,6 +34,13 @@ | |||
34 | #include <sys/wait.h> /* pid_t */ | 34 | #include <sys/wait.h> /* pid_t */ |
35 | #include "common.h" | 35 | #include "common.h" |
36 | 36 | ||
37 | #ifdef _WIN32 | ||
38 | #ifndef WIN32_LEAN_AND_MEAN | ||
39 | #define WIN32_LEAN_AND_MEAN 1 | ||
40 | #endif /* !WIN32_LEAN_AND_MEAN */ | ||
41 | #include <windows.h> | ||
42 | #endif | ||
43 | |||
37 | #define EXPECTED_BODY "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>" | 44 | #define EXPECTED_BODY "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>" |
38 | 45 | ||
39 | 46 | ||