1 /* sigc++config.h. Generated from sigc++config.h.in by configure. */
3 /* Define to omit deprecated API from the library. */
4 /* #undef SIGCXX_DISABLE_DEPRECATED */
6 /* Major version number of sigc++. */
7 #define SIGCXX_MAJOR_VERSION 2
9 /* Micro version number of sigc++. */
10 #define SIGCXX_MICRO_VERSION 2
12 /* Minor version number of sigc++. */
13 #define SIGCXX_MINOR_VERSION 99
15 /* Detect Win32 platform */
17 # if defined(_MSC_VER)
21 # elif defined(__CYGWIN__)
22 # define SIGC_CONFIGURE 1
23 # elif defined(__MINGW32__)
25 # define SIGC_CONFIGURE 1
27 # error "libsigc++ config: Unknown win32 architecture (send me gcc --dumpspecs or equiv)"
30 # define SIGC_CONFIGURE 1
35 * MS VC7 Warning 4251 says that the classes to any member objects in an
36 * exported class must also be exported. Some of the libsigc++
37 * template classes contain std::list members. MS KB article 168958 says
38 * that it's not possible to export a std::list instantiation due to some
39 * wacky class nesting issues, so our only options are to ignore the
40 * warning or to modify libsigc++ to remove the std::list dependency.
41 * AFAICT, the std::list members are used internally by the library code
42 * and don't need to be used from the outside, and ignoring the warning
43 * seems to have no adverse effects, so that seems like a good enough
46 # pragma warning(disable:4251)
48 #if (_MSC_VER < 1900) && !defined (noexcept)
49 #define _ALLOW_KEYWORD_MACROS 1
50 #define noexcept _NOEXCEPT
55 #endif /* !SIGC_MSC */
58 # if defined(SIGC_BUILD) && defined(_WINDLL)
59 # define SIGC_API __declspec(dllexport)
60 # elif !defined(SIGC_BUILD)
61 # define SIGC_API __declspec(dllimport)
67 #endif /* !SIGC_DLL */