Skip to content

Commit 381cb41

Browse files
committed
Don't export hidapi functions from SDL
1 parent 007c36e commit 381cb41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hidapi/SDL_hidapi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include "SDL_hidapi_c.h"
3333

3434
/* Initial type declarations */
35+
#define HID_API_NO_EXPORT_DEFINE /* do not export hidapi procedures */
3536
#include "hidapi/hidapi.h"
3637

3738
#ifndef SDL_HIDAPI_DISABLED

0 commit comments

Comments
 (0)