Welcome to mirror list, hosted at ThFree Co, Russian Federation.

hidapi.diff « patches « build_environment « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 720a8ae5ae9f54871991decc07b4ad131e06912a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- hidapi/hidapi.h	2011-10-25 20:58:16 -0600
+++ hidapi/hidapi.h	2016-11-01 12:05:58 -0600
@@ -30,7 +30,11 @@
 #include <wchar.h>
 
 #ifdef _WIN32
-      #define HID_API_EXPORT __declspec(dllexport)
+      #ifdef HID_API_STATIC
+        #define HID_API_EXPORT 
+      #else
+        #define HID_API_EXPORT __declspec(dllexport)
+      #endif
       #define HID_API_CALL
 #else
       #define HID_API_EXPORT /**< API export macro */