Browse Source

Don't export hidapi functions from SDL

Sam Lantinga 1 year ago
parent
commit
381cb41027
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/hidapi/SDL_hidapi.c

+ 1 - 0
src/hidapi/SDL_hidapi.c

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