do not export hidapi symbols from SDL dlls (bug #4259).
authorOzkan Sezer <sezeroz@gmail.com>
Sat, 15 Sep 2018 14:28:10 +0300
changeset 121913c9c784e85bb
parent 12190 04650c2fe44e
child 12192 f03ca3ab9b30
do not export hidapi symbols from SDL dlls (bug #4259).
src/hidapi/hidapi/hidapi.h
     1.1 --- a/src/hidapi/hidapi/hidapi.h	Sat Sep 15 09:24:04 2018 +0300
     1.2 +++ b/src/hidapi/hidapi/hidapi.h	Sat Sep 15 14:28:10 2018 +0300
     1.3 @@ -29,7 +29,7 @@
     1.4  
     1.5  #include <wchar.h>
     1.6  
     1.7 -#if defined(_WIN32) && !defined(NAMESPACE)
     1.8 +#if defined(_WIN32) && !defined(NAMESPACE) && (0) /* SDL: don't export hidapi syms */
     1.9        #define HID_API_EXPORT __declspec(dllexport)
    1.10        #define HID_API_CALL
    1.11  #else