summaryrefslogtreecommitdiff
path: root/cairommconfig.h.in
blob: f55f6d06600fdcb6657f7ff6305ae6ed0ce50984 (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
32
33
34
/* 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) && \
	!defined(CAIROMM_USE_GENDEF)
# define CAIROMM_DLL 1
#endif

#ifdef CAIROMM_DLL
# if defined(CAIROMM_BUILD)
#  define CAIROMM_API __declspec(dllexport)
# elif !defined (__GNUC__)
#  define CAIROMM_API __declspec(dllimport)
# else /* don't dllimport classes/methods on GCC/MinGW */
#  define CAIROMM_API
# endif
/* Build a static or non-native-Windows library */
#else
# define CAIROMM_API
#endif /* CAIROMM_DLL */