diff options
| author | 2014-10-03 15:51:43 +0200 | |
|---|---|---|
| committer | 2014-10-03 16:29:42 +0200 | |
| commit | 4c4bbd31f52845de70f5b828121eeea62f8b4514 (patch) | |
| tree | 6655c2eeba4a9865752523e68d73e982e8a0d515 /src/idevice.h | |
| parent | d335f9350eef7b0140a249f92b791dc88b2900e5 (diff) | |
| download | libimobiledevice-4c4bbd31f52845de70f5b828121eeea62f8b4514.tar.gz libimobiledevice-4c4bbd31f52845de70f5b828121eeea62f8b4514.tar.bz2 | |
Avoid exporting non-public symbols
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" |
