We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b6aed commit 75c79a6Copy full SHA for 75c79a6
1 file changed
src/libusbmuxd.c
@@ -30,10 +30,14 @@
30
#include <config.h>
31
#endif
32
33
-#ifdef HAVE_FVISIBILITY
34
-#define USBMUXD_API __attribute__((visibility("default")))
+#ifdef WIN32
+ #define USBMUXD_API __declspec( dllexport )
35
#else
36
-#define USBMUXD_API
+ #ifdef HAVE_FVISIBILITY
37
+ #define USBMUXD_API __attribute__((visibility("default")))
38
+ #else
39
+ #define USBMUXD_API
40
+ #endif
41
42
43
#ifdef WIN32
0 commit comments