summaryrefslogtreecommitdiff
path: root/libusb/os/windows_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/os/windows_compat.h')
-rw-r--r--libusb/os/windows_compat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libusb/os/windows_compat.h b/libusb/os/windows_compat.h
index f228782..76f8417 100644
--- a/libusb/os/windows_compat.h
+++ b/libusb/os/windows_compat.h
@@ -34,6 +34,13 @@
#endif
#endif
+enum windows_version {
+ WINDOWS_UNSUPPORTED,
+ WINDOWS_XP,
+ WINDOWS_VISTA_AND_LATER,
+};
+extern enum windows_version windows_version;
+
#define MAX_FDS 256
#define POLLIN 0x0001 /* There is data to read */