summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2011-11-02 13:15:27 +0000
committerPete Batard <pete@akeo.ie>2011-11-02 13:15:27 +0000
commit3a1ff351bf673b0cb1c5336384adeef6e0ed150b (patch)
treef17bb0e20f3e6c9eae46b8c255903ecdbb5a2df8
parentc4ca16e6ccf01dd2a03810dc6be25ac9ba54784c (diff)
downloadlibusb-3a1ff351bf673b0cb1c5336384adeef6e0ed150b.tar.gz
[xusb] fix usleep() not available in Clang
-rw-r--r--examples/xusb.c2
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>