From 381cb4102781efe475689fecaae42eb6ae119379 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 25 May 2023 22:37:16 -0700 Subject: [PATCH] Don't export hidapi functions from SDL --- src/hidapi/SDL_hidapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c index 3d21e78849..701280243c 100644 --- a/src/hidapi/SDL_hidapi.c +++ b/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