Ardour  9.2-654-gd2ed0bd940
ytkmmconfig.h
Go to the documentation of this file.
1 #ifndef _GTKMM_CONFIG_H
2 #define _GTKMM_CONFIG_H
3 
4 #include <ydkmm/ydkmmconfig.h>
5 
6 /* Defined when the --enable-api-atkmm configure argument was given */
7 #define GTKMM_ATKMM_ENABLED 1
8 
9 /* Define to omit deprecated API from gtkmm. */
10 /* #undef GTKMM_DISABLE_DEPRECATED */
11 
12 /* Defined when the --enable-maemo-extensions configure argument was given */
13 /* #undef GTKMM_MAEMO_EXTENSIONS_ENABLED */
14 
15 /* Define when building gtkmm as a static library */
16 /* #undef GTKMM_STATIC_LIB */
17 
18 /* Enable DLL-specific stuff only when not building a static library */
19 # if (!defined(GTKMM_STATIC_LIB) && defined(_WIN32) && !defined(__CYGWIN__) && !defined(COMPILER_MINGW))
20 # if !defined(GTKMM_DLL)
21 # define GTKMM_DLL 1
22 # endif
23 # endif
24 
25 #ifdef COMPILER_MSVC
26 #define _WINDLL
27 #endif
28 
29 #ifdef GTKMM_DLL
30 # if defined(GTKMM_BUILD) && defined(_WINDLL)
31  /* GTKMM_API was previously undefined here. It was getting handled */
32  /* by 'gendef' on MSVC but 'gendef' stopped working a long time ago */
33 # define GTKMM_API __declspec(dllexport)
34 # elif !defined(GTKMM_BUILD)
35 # define GTKMM_API __declspec(dllimport)
36 # else
37  /* Build a static library */
38 # define GTKMM_API
39 # endif /* GTKMM_BUILD - _WINDLL */
40 #else
41 # define GTKMM_API
42 #endif /* GTKMM_DLL */
43 
44 #endif /* !_GTKMM_CONFIG_H */