diff options
author | Pete Batard <pete@akeo.ie> | 2011-11-02 13:15:27 +0000 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2011-11-02 13:15:27 +0000 |
commit | 3a1ff351bf673b0cb1c5336384adeef6e0ed150b (patch) | |
tree | f17bb0e20f3e6c9eae46b8c255903ecdbb5a2df8 | |
parent | c4ca16e6ccf01dd2a03810dc6be25ac9ba54784c (diff) | |
download | libusb-3a1ff351bf673b0cb1c5336384adeef6e0ed150b.tar.gz |
[xusb] fix usleep() not available in Clang
-rw-r--r-- | examples/xusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xusb.c b/examples/xusb.c index fb26e72..0c794ca 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -27,7 +27,7 @@ #include "libusb.h" -#if defined(_MSC_VER) +#if defined(_WIN32) #define msleep(msecs) Sleep(msecs) #else #include <unistd.h> |