[Commits] SDL: do not export hidapi symbols from SDL dlls (bug #4259).

libsdl.org revision control commits-owner at libsdl.org
Sun Sep 16 23:33:23 PDT 2018


details:   https://hg.libsdl.org/SDL/rev/3c9c784e85bb
changeset: 12191:3c9c784e85bb
user:      Ozkan Sezer <sezeroz at gmail.com>
date:      Sat Sep 15 14:28:10 2018 +0300
description:
do not export hidapi symbols from SDL dlls (bug #4259).

diffstat:

 src/hidapi/hidapi/hidapi.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 04650c2fe44e -r 3c9c784e85bb src/hidapi/hidapi/hidapi.h
--- a/src/hidapi/hidapi/hidapi.h	Sat Sep 15 09:24:04 2018 +0300
+++ b/src/hidapi/hidapi/hidapi.h	Sat Sep 15 14:28:10 2018 +0300
@@ -29,7 +29,7 @@
 
 #include <wchar.h>
 
-#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


More information about the commits mailing list