summaryrefslogtreecommitdiffstats
path: root/include/libirecovery.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libirecovery.h')
-rw-r--r--include/libirecovery.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h
index 0af73e6..84d8681 100644
--- a/include/libirecovery.h
+++ b/include/libirecovery.h
@@ -30,8 +30,10 @@ extern "C" {
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef interface
+#ifndef sleep
#define sleep(n) Sleep(1000 * n)
#endif
+#endif
#define APPLE_VENDOR_ID 0x05AC