Debian Codegraph @

atk/atkmmconfig.h.meson

raw
1 /* atkmm library configuration header */
2
3 #ifndef ATKMMCONFIG_H_INCLUDED
4 #define ATKMMCONFIG_H_INCLUDED
5
6 #include <glibmmconfig.h>
7
8 /* Define to omit deprecated API from the library. */
9 #mesondefine ATKMM_DISABLE_DEPRECATED
10
11 /* Major version number of atkmm. */
12 #mesondefine ATKMM_MAJOR_VERSION
13
14 /* Minor version number of atkmm. */
15 #mesondefine ATKMM_MINOR_VERSION
16
17 /* Micro version number of atkmm. */
18 #mesondefine ATKMM_MICRO_VERSION
19
20 /* Define when building atkmm as a static library. */
21 #mesondefine ATKMM_STATIC_LIB
22
23 /* Enable DLL-specific stuff only when not building a static library */
24 #if !defined(ATKMM_STATIC_LIB) && ((defined(__MINGW32__) && !defined(__CYGWIN__)) || defined (_MSC_VER)) && !defined (ATKMM_USE_GENDEF)
25 # define ATKMM_DLL 1
26 #endif
27
28 #ifdef ATKMM_DLL
29 # ifdef ATKMM_BUILD
30 # define ATKMM_API __declspec(dllexport)
31 # elif !defined (__GNUC__)
32 # define ATKMM_API __declspec(dllimport)
33 # else /* don't dllimport classes/methods on GCC/MinGW */
34 # define ATKMM_API
35 # endif
36 #else
37 # define ATKMM_API
38 #endif
39
40 #endif /* !ATKMMCONFIG_H_INCLUDED */