|
Packit |
306c40 |
#ifndef _GLIBMM_CONFIG_H
|
|
Packit |
306c40 |
#define _GLIBMM_CONFIG_H
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#ifdef _WIN32
|
|
Packit |
306c40 |
/* Win32 compilers have a lot of varation */
|
|
Packit |
306c40 |
# if defined(_MSC_VER)
|
|
Packit |
306c40 |
# define GLIBMM_MSC 1
|
|
Packit |
306c40 |
# define GLIBMM_WIN32 1
|
|
Packit |
306c40 |
# define GLIBMM_DLL 1
|
|
Packit |
306c40 |
# elif defined(__CYGWIN__)
|
|
Packit |
306c40 |
# define GLIBMM_CONFIGURE 1
|
|
Packit |
306c40 |
# elif defined(__MINGW32__)
|
|
Packit |
306c40 |
# define GLIBMM_WIN32 1
|
|
Packit |
306c40 |
# define GLIBMM_CONFIGURE 1
|
|
Packit |
306c40 |
# else
|
|
Packit |
306c40 |
/* AIX clR compiler complains about this even though it doesn't get this far */
|
|
Packit |
306c40 |
# error "Unknown architecture (send me gcc --dumpspecs or equiv)"
|
|
Packit |
306c40 |
# endif
|
|
Packit |
306c40 |
#else
|
|
Packit |
306c40 |
# define GLIBMM_CONFIGURE 1
|
|
Packit |
306c40 |
#endif /* _WIN32 */
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#ifdef GLIBMM_CONFIGURE
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Define only on Mac OS, COCOA */
|
|
Packit |
306c40 |
#undef GLIBMM_OS_COCOA
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Define if extern "C" and extern "C++" function pointers are compatible. */
|
|
Packit |
306c40 |
#undef GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Define if non-instantiated templates may dynamic_cast<> to an undefined
|
|
Packit |
306c40 |
type. */
|
|
Packit |
306c40 |
#undef GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Define if the compiler honors namespaces inside extern "C" blocks. */
|
|
Packit |
306c40 |
#undef GLIBMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Defined when the SUN Forte C++ compiler is being used. */
|
|
Packit |
306c40 |
#undef GLIBMM_COMPILER_SUN_FORTE
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Defined when the --enable-debug-refcounting configure argument was given */
|
|
Packit |
306c40 |
#undef GLIBMM_DEBUG_REFCOUNTING
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* This is always set. This is only for backwards compatibility. */
|
|
Packit |
306c40 |
#undef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Define to omit deprecated API from the library. */
|
|
Packit |
306c40 |
#undef GLIBMM_DISABLE_DEPRECATED
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* This is always set. This is only for backwards compatibility. */
|
|
Packit |
306c40 |
#undef GLIBMM_EXCEPTIONS_ENABLED
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* This is always set. This is only for backwards compatibility. */
|
|
Packit |
306c40 |
#undef GLIBMM_VFUNCS_ENABLED
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Defined if a static member variable may be initialized inline to
|
|
Packit |
306c40 |
std::string::npos */
|
|
Packit |
306c40 |
#undef GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Defined when time_t is not equivalent to gint32, meaning that it can be
|
|
Packit |
306c40 |
used for a method overload */
|
|
Packit |
306c40 |
#undef GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Define if the compiler disambiguates template specializations for const and
|
|
Packit |
306c40 |
non-const types. */
|
|
Packit |
306c40 |
#undef GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Defined when the libstdc++ declares the std-namespace */
|
|
Packit |
306c40 |
#undef GLIBMM_HAVE_NAMESPACE_STD
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Defined if std::iterator_traits<> is standard-conforming */
|
|
Packit |
306c40 |
#undef GLIBMM_HAVE_STD_ITERATOR_TRAITS
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Defined if std::reverse_iterator is in Sun libCstd style */
|
|
Packit |
306c40 |
#undef GLIBMM_HAVE_SUN_REVERSE_ITERATOR
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Defined if the STL containers have templated sequence ctors */
|
|
Packit |
306c40 |
#undef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Define to 1 if wide stream is available. */
|
|
Packit |
306c40 |
#undef GLIBMM_HAVE_WIDE_STREAM
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Major version number of glibmm. */
|
|
Packit |
306c40 |
#undef GLIBMM_MAJOR_VERSION
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Define if C++ member functions may refer to member templates. */
|
|
Packit |
306c40 |
#undef GLIBMM_MEMBER_FUNCTIONS_MEMBER_TEMPLATES
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Micro version number of glibmm. */
|
|
Packit |
306c40 |
#undef GLIBMM_MICRO_VERSION
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Minor version number of glibmm. */
|
|
Packit |
306c40 |
#undef GLIBMM_MINOR_VERSION
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* This is always set. This is only for backwards compatibility. */
|
|
Packit |
306c40 |
#undef GLIBMM_PROPERTIES_ENABLED
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Define if glibmm is built as a static library */
|
|
Packit |
306c40 |
#undef GLIBMM_STATIC_LIB
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#endif /* GLIBMM_CONFIGURE */
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#ifdef GLIBMM_MSC
|
|
Packit |
306c40 |
# define GLIBMM_HAVE_STD_ITERATOR_TRAITS 1
|
|
Packit |
306c40 |
# define GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS 2
|
|
Packit |
306c40 |
# define GLIBMM_HAVE_WIDE_STREAM 1
|
|
Packit |
306c40 |
# define GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS 1
|
|
Packit |
306c40 |
# define GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 1
|
|
Packit |
306c40 |
# define GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION 1
|
|
Packit |
306c40 |
# define GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS 1
|
|
Packit |
306c40 |
# define GLIBMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC 1
|
|
Packit |
306c40 |
# define GLIBMM_PROPERTIES_ENABLED 1
|
|
Packit |
306c40 |
# define GLIBMM_VFUNCS_ENABLED 1
|
|
Packit |
306c40 |
# define GLIBMM_EXCEPTIONS_ENABLED 1
|
|
Packit |
306c40 |
# define GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 1
|
|
Packit |
306c40 |
# pragma warning (disable: 4786 4355 4800 4181)
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#if (_MSC_VER < 1900)
|
|
Packit |
306c40 |
/* The C++-11 keywords noexcept and thread_local are supported on
|
|
Packit |
306c40 |
* Visual Studio 2013 via Microsoft-specific extensions, but are
|
|
Packit |
306c40 |
* supported directly in Visual Studio 2015
|
|
Packit |
306c40 |
*/
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#define _ALLOW_KEYWORD_MACROS 1
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#ifndef noexcept
|
|
Packit |
306c40 |
#define noexcept _NOEXCEPT
|
|
Packit |
306c40 |
#endif
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#ifndef thread_local
|
|
Packit |
306c40 |
#define thread_local __declspec (thread)
|
|
Packit |
306c40 |
#endif
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#endif /* _MSC_VER < 1900 */
|
|
Packit |
306c40 |
#endif /* GLIBMM_MSC */
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Dummy macro definition for compatibility with old code that expects
|
|
Packit |
306c40 |
* it to be defined. Remove after grace period. */
|
|
Packit |
306c40 |
#define GLIBMM_USING_STD(Symbol)
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
/* Enable DLL-specific stuff only when not building a static library */
|
|
Packit |
306c40 |
#if !defined(__CYGWIN__) && defined(__MINGW32__) && !defined(GLIBMM_STATIC_LIB)
|
|
Packit |
306c40 |
# define GLIBMM_DLL 1
|
|
Packit |
306c40 |
#endif
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#ifdef GLIBMM_DLL
|
|
Packit |
306c40 |
# if defined(GLIBMM_BUILD) && defined(_WINDLL)
|
|
Packit |
306c40 |
/* Do not dllexport as it is handled by gendef on MSVC */
|
|
Packit |
306c40 |
# define GLIBMM_API
|
|
Packit |
306c40 |
# elif !defined(GLIBMM_BUILD)
|
|
Packit |
306c40 |
# define GLIBMM_API __declspec(dllimport)
|
|
Packit |
306c40 |
# else
|
|
Packit |
306c40 |
/* Build a static library */
|
|
Packit |
306c40 |
# define GLIBMM_API
|
|
Packit |
306c40 |
# endif /* GLIBMM_BUILD - _WINDLL */
|
|
Packit |
306c40 |
#else
|
|
Packit |
306c40 |
# define GLIBMM_API
|
|
Packit |
306c40 |
#endif /* GLIBMM_DLL */
|
|
Packit |
306c40 |
|
|
Packit |
306c40 |
#endif /* _GLIBMM_CONFIG_H */
|