aboutsummaryrefslogtreecommitdiff
path: root/src/examples/authorization_example.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-02-18 18:39:31 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-02-18 18:39:31 +0000
commit8b28e693b25992174be3e865ea444414713b27ec (patch)
treee13d3d19e2c9436220a920fb7ae00772faf62da2 /src/examples/authorization_example.c
parentb7dabd9efbd86724944f9a1e79bc04dc4e6cc9f3 (diff)
downloadlibmicrohttpd-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.c6
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