From 305e5968aa6a39ab78c13383a43aa39857c7644a Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 15 Sep 2018 14:28:10 +0300 Subject: [PATCH] do not export hidapi symbols from SDL dlls (bug #4259). --- src/hidapi/hidapi/hidapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hidapi/hidapi/hidapi.h b/src/hidapi/hidapi/hidapi.h index 2057602807607..e9a74d559539b 100644 --- a/src/hidapi/hidapi/hidapi.h +++ b/src/hidapi/hidapi/hidapi.h @@ -29,7 +29,7 @@ #include -#if defined(_WIN32) && !defined(NAMESPACE) +#if defined(_WIN32) && !defined(NAMESPACE) && (0) /* SDL: don't export hidapi syms */ #define HID_API_EXPORT __declspec(dllexport) #define HID_API_CALL #else