Fix building.
[ardour.git] / libs / gtkmm2 / gtk / gtkmmconfig.h
1 /* gtk/gtkmmconfig.h.  Generated from gtkmmconfig.h.in by configure.  */
2 #ifndef _GTKMM_CONFIG_H
3 #define _GTKMM_CONFIG_H 1
4
5 #include <gdkmmconfig.h>
6
7 /* version numbers */
8 #define GTKMM_MAJOR_VERSION 2
9 #define GTKMM_MINOR_VERSION 10
10 #define GTKMM_MICRO_VERSION 8
11
12 #define GTKMM_ATKMM_ENABLED 1
13 /* #undef GTKMM_MAEMO_EXTENSIONS_ENABLED */
14
15
16 #ifdef GLIBMM_CONFIGURE
17 /* compiler feature tests that are used during compile time and run-time
18    by gtkmm only. */
19
20 /* SUN Forte, AIX, and Tru64 have the problem with flockfile and
21    funlockfile - configure finds it but the compiler can not find it
22    while compiling demowindow.cc. undef HAVE_FLOCKFILE and
23    HAVE_FUNLOCKFILE for now, so that it builds on those platforms. */
24         
25 #define HAVE_FLOCKFILE 1
26 #define HAVE_FUNLOCKFILE 1
27 #define HAVE_MKFIFO 1
28 /* #undef GETC_UNLOCKED */
29
30 #endif /* GLIBMM_CONFIGURE */
31
32
33 #ifdef GLIBMM_DLL
34   #if defined(GTKMM_BUILD) && defined(_WINDLL)
35     // Do not dllexport as it is handled by gendef on MSVC
36     #define GTKMM_API 
37   #elif !defined(GTKMM_BUILD)
38     #define GTKMM_API __declspec(dllimport)
39   #else
40     /* Build a static library */
41     #define GTKMM_API
42   #endif /* GTKMM_BUILD - _WINDLL */
43 #else
44   #define GTKMM_API
45 #endif /* GLIBMM_DLL */
46
47 #endif /* _GTKMM_CONFIG_H */
48