summaryrefslogtreecommitdiff
path: root/cairommconfig.h.in
blob: f01a2e9e49004eeddd37f1c22eb0e5b588feb7bd (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
28
29
30
31
/* This file is part of cairomm. */

/* Defined when the --enable-api-exceptions configure argument was given */
#undef CAIROMM_EXCEPTIONS_ENABLED

/* Major version number of cairomm. */
#undef CAIROMM_MAJOR_VERSION

/* Minor version number of cairomm. */
#undef CAIROMM_MINOR_VERSION

/* Micro version number of cairomm. */
#undef CAIROMM_MICRO_VERSION

/* Enable DLL-specific stuff only when not building a static library */
#if !defined(__CYGWIN__) && \
    (defined(__MINGW32__) || defined (_MSC_VER)) && \
    !defined(CAIROMM_STATIC_LIB)
# define CAIROMM_DLL 1
#endif

#ifdef CAIROMM_DLL
# if defined(CAIROMM_BUILD)
#  define CAIROMM_API __declspec(dllexport)
# else
#  define CAIROMM_API __declspec(dllimport)
# endif
/* Build a static or non-native-Windows library */
#else
# define CAIROMM_API
#endif /* CAIROMM_DLL */