소스 검색

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

Ozkan Sezer 7 년 전
부모
커밋
305e5968aa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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