summaryrefslogtreecommitdiff
path: root/gio/giommconfig.h.in
blob: 8f27b73d6cf67728ebdb9b3a6960a44ae351408d (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
35
36
37
38
39
40
#ifndef _GIOMM_CONFIG_H
#define _GIOMM_CONFIG_H

#include <glibmmconfig.h>

/* Define to omit deprecated API from the library. */
#undef GIOMM_DISABLE_DEPRECATED

/* Major version number of giomm. */
#undef GIOMM_MAJOR_VERSION

/* Micro version number of giomm. */
#undef GIOMM_MICRO_VERSION

/* Minor version number of giomm. */
#undef GIOMM_MINOR_VERSION

/* Define if giomm is built as a static library */
#undef GIOMM_STATIC_LIB

// Enable DLL-specific stuff only when not building a static library
#if !defined(__CYGWIN__) && defined(__MINGW32__) && !defined(GIOMM_STATIC_LIB)
# define GIOMM_DLL 1
#endif

#ifdef GIOMM_DLL
# if defined(GIOMM_BUILD) && defined(_WINDLL)
   /* Do not dllexport as it is handled by gendef on MSVC */
#  define GIOMM_API
# elif !defined(GIOMM_BUILD)
#  define GIOMM_API __declspec(dllimport)
# else
   /* Build a static library */
#  define GIOMM_API
# endif /* GIOMM_BUILD - _WINDLL */
#else
# define GIOMM_API
#endif /* GIOMM_DLL */

#endif /* _GIOMM_CONFIG_H */