Libical API Documentation  3.0
libical_ical_export.h
1 #ifndef LIBICAL_ICAL_EXPORT_H
2 #define LIBICAL_ICAL_EXPORT_H
3 
4 #if !defined(S_SPLINT_S)
5 
6 #ifdef LIBICAL_ICAL_STATIC_DEFINE
7 #define LIBICAL_ICAL_EXPORT
8 #define LIBICAL_ICAL_NO_EXPORT
9 #else
10 #if defined(_MSC_VER) || defined(__CYGWIN__)
11 #if defined(libical_ical_EXPORTS)
12  /* We are building this library */
13 #define LIBICAL_ICAL_EXPORT __declspec(dllexport)
14 #else
15  /* We are using this library */
16 #define LIBICAL_ICAL_EXPORT __declspec(dllimport)
17 #endif
18 #define LIBICAL_ICAL_NO_EXPORT
19 #else
20 #define LIBICAL_ICAL_EXPORT __attribute__((visibility("default")))
21 #define LIBICAL_ICAL_NO_EXPORT __attribute__((visibility("hidden")))
22 #endif
23 #endif
24 
25 #endif
26 
27 #endif