Selaa lähdekoodia

Don't export hidapi functions from SDL

Sam Lantinga 2 vuotta sitten
vanhempi
commit
381cb41027
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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