diff options
author | Nikias Bassen | 2012-07-04 13:57:20 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-04 13:57:20 +0200 |
commit | 7b661e3f25ce783b68b80f185f362cf18c8442df (patch) | |
tree | 7fe4b1d2de7911fc9da127771286bb925310ebb9 /include/libirecovery.h | |
parent | d3232fcba2f1267723bc087e0751ab463489b25b (diff) | |
download | libirecovery-7b661e3f25ce783b68b80f185f362cf18c8442df.tar.gz libirecovery-7b661e3f25ce783b68b80f185f362cf18c8442df.tar.bz2 |
win32: use #ifndef to prevent warning about sleep being already defined
Diffstat (limited to 'include/libirecovery.h')
-rw-r--r-- | include/libirecovery.h | 2 |
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 |