hidapi.diff 433 B

12345678910111213141516
  1. --- hidapi/hidapi.h 2011-10-25 20:58:16 -0600
  2. +++ hidapi/hidapi.h 2016-11-01 12:05:58 -0600
  3. @@ -30,7 +30,11 @@
  4. #include <wchar.h>
  5. #ifdef _WIN32
  6. - #define HID_API_EXPORT __declspec(dllexport)
  7. + #ifdef HID_API_STATIC
  8. + #define HID_API_EXPORT
  9. + #else
  10. + #define HID_API_EXPORT __declspec(dllexport)
  11. + #endif
  12. #define HID_API_CALL
  13. #else
  14. #define HID_API_EXPORT /**< API export macro */