summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-09-10 19:50:59 +0200
committerGravatar Martin Szulecki2012-03-19 01:39:16 +0100
commitaf7b43c4574d781a1bc8899f77df390bd9301f28 (patch)
tree8cd08389128210c3e6d859d446e96e621b3c2e9b
parent4e518231cf5ff4485fdaf4d52c4f51aa48e5255d (diff)
downloadlibimobiledevice-af7b43c4574d781a1bc8899f77df390bd9301f28.tar.gz
libimobiledevice-af7b43c4574d781a1bc8899f77df390bd9301f28.tar.bz2
[Win32] src/notification_proxy.c: add sleep() definition
-rw-r--r--src/notification_proxy.c4
1 files changed, 4 insertions, 0 deletions
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;