diff options
-rw-r--r-- | libusb/libusb.h | 2 |
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 |