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/examples/authorization_example.c | |
parent | b7dabd9efbd86724944f9a1e79bc04dc4e6cc9f3 (diff) | |
download | libmicrohttpd-8b28e693b25992174be3e865ea444414713b27ec.tar.gz libmicrohttpd-8b28e693b25992174be3e865ea444414713b27ec.zip |
add sleep() and usleep() replacement for W32
Diffstat (limited to 'src/examples/authorization_example.c')
-rw-r--r-- | src/examples/authorization_example.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/examples/authorization_example.c b/src/examples/authorization_example.c index bb480267..39dd3966 100644 --- a/src/examples/authorization_example.c +++ b/src/examples/authorization_example.c | |||
@@ -25,6 +25,12 @@ | |||
25 | 25 | ||
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include <microhttpd.h> | 27 | #include <microhttpd.h> |
28 | #ifdef _WIN32 | ||
29 | #ifndef WIN32_LEAN_AND_MEAN | ||
30 | #define WIN32_LEAN_AND_MEAN 1 | ||
31 | #endif /* !WIN32_LEAN_AND_MEAN */ | ||
32 | #include <windows.h> | ||
33 | #endif | ||
28 | 34 | ||
29 | #define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>" | 35 | #define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>" |
30 | 36 | ||