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 @@ | |||
| 33 | #include <gnutls/x509.h> | 33 | #include <gnutls/x509.h> |
| 34 | #endif | 34 | #endif |
| 35 | 35 | ||
| 36 | #ifdef WIN32 | ||
| 37 | #define LIBIMOBILEDEVICE_API __declspec( dllexport ) | ||
| 38 | #else | ||
| 39 | #ifdef HAVE_FVISIBILITY | ||
| 40 | #define LIBIMOBILEDEVICE_API __attribute__((visibility("default"))) | ||
| 41 | #else | ||
| 42 | #define LIBIMOBILEDEVICE_API | ||
| 43 | #endif | ||
| 44 | #endif | ||
| 45 | |||
| 36 | #include "common/userpref.h" | 46 | #include "common/userpref.h" |
| 37 | 47 | ||
| 38 | #include "libimobiledevice/libimobiledevice.h" | 48 | #include "libimobiledevice/libimobiledevice.h" |
