|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
/* Define to omit deprecated API from the library. */
|
|
Packit Service |
b3205f |
#undef SIGCXX_DISABLE_DEPRECATED
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
/* Major version number of sigc++. */
|
|
Packit Service |
b3205f |
#undef SIGCXX_MAJOR_VERSION
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
/* Micro version number of sigc++. */
|
|
Packit Service |
b3205f |
#undef SIGCXX_MICRO_VERSION
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
/* Minor version number of sigc++. */
|
|
Packit Service |
b3205f |
#undef SIGCXX_MINOR_VERSION
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
/* Detect Win32 platform */
|
|
Packit Service |
b3205f |
#ifdef _WIN32
|
|
Packit Service |
b3205f |
# if defined(_MSC_VER)
|
|
Packit Service |
b3205f |
# define SIGC_MSC 1
|
|
Packit Service |
b3205f |
# define SIGC_WIN32 1
|
|
Packit Service |
b3205f |
# define SIGC_DLL 1
|
|
Packit Service |
b3205f |
# elif defined(__CYGWIN__)
|
|
Packit Service |
b3205f |
# define SIGC_CONFIGURE 1
|
|
Packit Service |
b3205f |
# elif defined(__MINGW32__)
|
|
Packit Service |
b3205f |
# define SIGC_WIN32 1
|
|
Packit Service |
b3205f |
# define SIGC_CONFIGURE 1
|
|
Packit Service |
b3205f |
# else
|
|
Packit Service |
b3205f |
# error "libsigc++ config: Unknown win32 architecture (send me gcc --dumpspecs or equiv)"
|
|
Packit Service |
b3205f |
# endif
|
|
Packit Service |
b3205f |
#else /* !_WIN32 */
|
|
Packit Service |
b3205f |
# define SIGC_CONFIGURE 1
|
|
Packit Service |
b3205f |
#endif /* !_WIN32 */
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
#ifdef SIGC_MSC
|
|
Packit Service |
b3205f |
/*
|
|
Packit Service |
b3205f |
* MS VC7 Warning 4251 says that the classes to any member objects in an
|
|
Packit Service |
b3205f |
* exported class must also be exported. Some of the libsigc++
|
|
Packit Service |
b3205f |
* template classes contain std::list members. MS KB article 168958 says
|
|
Packit Service |
b3205f |
* that it's not possible to export a std::list instantiation due to some
|
|
Packit Service |
b3205f |
* wacky class nesting issues, so our only options are to ignore the
|
|
Packit Service |
b3205f |
* warning or to modify libsigc++ to remove the std::list dependency.
|
|
Packit Service |
b3205f |
* AFAICT, the std::list members are used internally by the library code
|
|
Packit Service |
b3205f |
* and don't need to be used from the outside, and ignoring the warning
|
|
Packit Service |
b3205f |
* seems to have no adverse effects, so that seems like a good enough
|
|
Packit Service |
b3205f |
* solution for now.
|
|
Packit Service |
b3205f |
*/
|
|
Packit Service |
b3205f |
# pragma warning(disable:4251)
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
# define SIGC_MSVC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD 1
|
|
Packit Service |
b3205f |
# define SIGC_NEW_DELETE_IN_LIBRARY_ONLY 1 /* To keep ABI compatibility */
|
|
Packit Service |
b3205f |
# define SIGC_PRAGMA_PUSH_POP_MACRO 1
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
#if (_MSC_VER < 1900) && !defined (noexcept)
|
|
Packit Service |
b3205f |
#define _ALLOW_KEYWORD_MACROS 1
|
|
Packit Service |
b3205f |
#define noexcept _NOEXCEPT
|
|
Packit Service |
b3205f |
#endif
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
#else /* SIGC_MSC */
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
/* does the C++ compiler support the use of a particular specialization when
|
|
Packit Service |
b3205f |
calling operator() template methods. */
|
|
Packit Service |
b3205f |
# undef SIGC_GCC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
/* Define if the non-standard Sun reverse_iterator must be used. */
|
|
Packit Service |
b3205f |
# undef SIGC_HAVE_SUN_REVERSE_ITERATOR
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
/* does the C++ compiler support the use of a particular specialization when
|
|
Packit Service |
b3205f |
calling operator() template methods omitting the template keyword. */
|
|
Packit Service |
b3205f |
# undef SIGC_MSVC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
/* does the C++ preprocessor support pragma push_macro() and pop_macro(). */
|
|
Packit Service |
b3205f |
# undef SIGC_PRAGMA_PUSH_POP_MACRO
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
#endif /* !SIGC_MSC */
|
|
Packit Service |
b3205f |
|
|
Packit Service |
b3205f |
#ifdef SIGC_DLL
|
|
Packit Service |
b3205f |
# if defined(SIGC_BUILD) && defined(_WINDLL)
|
|
Packit Service |
b3205f |
# define SIGC_API __declspec(dllexport)
|
|
Packit Service |
b3205f |
# elif !defined(SIGC_BUILD)
|
|
Packit Service |
b3205f |
# define SIGC_API __declspec(dllimport)
|
|
Packit Service |
b3205f |
# else
|
|
Packit Service |
b3205f |
# define SIGC_API
|
|
Packit Service |
b3205f |
# endif
|
|
Packit Service |
b3205f |
#else /* !SIGC_DLL */
|
|
Packit Service |
b3205f |
# define SIGC_API
|
|
Packit Service |
b3205f |
#endif /* !SIGC_DLL */
|