Don't export hidapi functions from SDL

main
Sam Lantinga 2023-05-25 22:37:16 -07:00
parent 007c36e513
commit 381cb41027
1 changed files with 1 additions and 0 deletions

View File

@ -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