diff options
Diffstat (limited to 'src/idevice.h')
-rw-r--r-- | src/idevice.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/idevice.h b/src/idevice.h index 13616ef..575e313 100644 --- a/src/idevice.h +++ b/src/idevice.h @@ -33,6 +33,16 @@ #include <gnutls/x509.h> #endif +#ifdef WIN32 +#define LIBIMOBILEDEVICE_API __declspec( dllexport ) +#else +#ifdef HAVE_FVISIBILITY +#define LIBIMOBILEDEVICE_API __attribute__((visibility("default"))) +#else +#define LIBIMOBILEDEVICE_API +#endif +#endif + #include "common/userpref.h" #include "libimobiledevice/libimobiledevice.h" |