浏览代码

Don't export hidapi functions from SDL

Sam Lantinga 3 年之前
父节点
当前提交
381cb41027
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/hidapi/SDL_hidapi.c

+ 1 - 0
src/hidapi/SDL_hidapi.c

@@ -32,6 +32,7 @@
 #include "SDL_hidapi_c.h"
 #include "SDL_hidapi_c.h"
 
 
 /* Initial type declarations */
 /* Initial type declarations */
+#define HID_API_NO_EXPORT_DEFINE /* do not export hidapi procedures */
 #include "hidapi/hidapi.h"
 #include "hidapi/hidapi.h"
 
 
 #ifndef SDL_HIDAPI_DISABLED
 #ifndef SDL_HIDAPI_DISABLED