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