summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-01-30 14:50:44 +0000
committerPete Batard <pbatard@gmail.com>2010-01-30 14:50:44 +0000
commitf95401139f33f714e4a26b045ce1315a6330cb72 (patch)
treea64129818cc13bb141a700c7e2d77ef74ad43417
parentbf4f54160c313c6052c470d1516acce84e55f98a (diff)
downloadlibusb-f95401139f33f714e4a26b045ce1315a6330cb72.tar.gz
r125: oops - fixed check for OS_WINDOWS in previous patch
-rw-r--r--libusb/libusb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/libusb.h b/libusb/libusb.h
index 5326fa4..1c3e9c8 100644
--- a/libusb/libusb.h
+++ b/libusb/libusb.h
@@ -37,7 +37,7 @@
* libusb_config_descriptor has an 'interface' member
* As this can be problematic if you include windows.h after libusb.h
* in your sources, we force windows.h to be included first. */
-#if !defined(_WINDOWS_)
+#if defined(OS_WINDOWS) && !defined(_WINDOWS_)
#include <windows.h>
#endif