Browse Source

do not export hidapi symbols from SDL dlls (bug #4259).

Ozkan Sezer 6 years ago
parent
commit
305e5968aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/hidapi/hidapi/hidapi.h

+ 1 - 1
src/hidapi/hidapi/hidapi.h

@@ -29,7 +29,7 @@
 
 #include <wchar.h>
 
-#if defined(_WIN32) && !defined(NAMESPACE)
+#if defined(_WIN32) && !defined(NAMESPACE) && (0) /* SDL: don't export hidapi syms */
       #define HID_API_EXPORT __declspec(dllexport)
       #define HID_API_CALL
 #else