Build hidapi as a framework on iOS, so it can be linked by the application as well.

This commit is contained in:
Sam Lantinga committed 2020-01-30 16:02:56 -08:00
1 parent 62a3d6c004
commit 1190343f36
3 files changed
+296 -42

No files matched your search

+4
View File
@@ -33,9 +33,13 @@
#define HID_API_EXPORT __declspec(dllexport)
#define HID_API_CALL
#else
#ifndef HID_API_EXPORT
#define HID_API_EXPORT /**< API export macro */
#endif
#ifndef HID_API_CALL
#define HID_API_CALL /**< API call macro */
#endif
#endif
#define HID_API_EXPORT_CALL HID_API_EXPORT HID_API_CALL /**< API export and call macro*/