From af7b43c4574d781a1bc8899f77df390bd9301f28 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 10 Sep 2011 19:50:59 +0200 Subject: [Win32] src/notification_proxy.c: add sleep() definition --- src/notification_proxy.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/notification_proxy.c b/src/notification_proxy.c index 086dec4..6e09840 100644 --- a/src/notification_proxy.c +++ b/src/notification_proxy.c @@ -28,6 +28,10 @@ #include "property_list_service.h" #include "debug.h" +#ifdef WIN32 +#define sleep(x) Sleep(x*1000) +#endif + struct np_thread { np_client_t client; np_notify_cb_t cbfunc; -- cgit v1.1-32-gdbae