summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libusb/libusb.h2
-rw-r--r--libusb/version_nano.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/libusb/libusb.h b/libusb/libusb.h
index 1dc12f8..de31a56 100644
--- a/libusb/libusb.h
+++ b/libusb/libusb.h
@@ -23,7 +23,9 @@
#ifdef _MSC_VER
/* on MS environments, the inline keyword is available in C++ only */
+#if !defined(__cplusplus)
#define inline __inline
+#endif
/* ssize_t is also not available (copy/paste from MinGW) */
#ifndef _SSIZE_T_DEFINED
#define _SSIZE_T_DEFINED
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 1582ec7..c349cc2 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10548
+#define LIBUSB_NANO 10549