mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
92 lines
2.1 KiB
C
92 lines
2.1 KiB
C
|
#ifndef _SIGC_CONFIG_H_
|
||
|
#define _SIGC_CONFIG_H_
|
||
|
|
||
|
#if 0
|
||
|
@TOP@
|
||
|
@BOTTOM@
|
||
|
#undef PACKAGE
|
||
|
#endif /* 0 */
|
||
|
|
||
|
#undef SIGC_MAJOR_VERSION
|
||
|
#undef SIGC_MINOR_VERSION
|
||
|
#undef SIGC_MICRO_VERSION
|
||
|
|
||
|
// detect common platforms
|
||
|
#if defined(_WIN32)
|
||
|
// Win32 compilers have a lot of varation
|
||
|
#if defined(__BORLANDC__)
|
||
|
#define LIBSIGC_BC
|
||
|
#define LIBSIGC_WIN32
|
||
|
#elif defined(_MSC_VER)
|
||
|
#define LIBSIGC_MSC
|
||
|
#define LIBSIGC_WIN32
|
||
|
#elif defined(__CYGWIN__)
|
||
|
#define LIBSIGC_UNIX
|
||
|
#else
|
||
|
#error "Unknown architecture (send me gcc --dumpspecs)"
|
||
|
#endif
|
||
|
#else
|
||
|
#define LIBSIGC_UNIX
|
||
|
#endif /* _WIN32 */
|
||
|
|
||
|
|
||
|
#ifdef LIBSIGC_UNIX
|
||
|
#undef SIGC_CXX_NAMESPACES
|
||
|
#undef SIGC_CXX_PARTIAL_SPEC
|
||
|
#undef SIGC_CXX_MEMBER_FUNC_TEMPLATES
|
||
|
#undef SIGC_CXX_MEMBER_CLASS_TEMPLATES
|
||
|
#undef SIGC_CXX_MUTABLE
|
||
|
#undef SIGC_CXX_FRIEND_TEMPLATES
|
||
|
#undef SIGC_CXX_TEMPLATE_CCTOR
|
||
|
#undef SIGC_CXX_INT_CTOR
|
||
|
#undef SIGC_CXX_VOID_RETURN
|
||
|
#undef SIGC_CXX_SPECIALIZE_REFERENCES
|
||
|
#undef SIGC_PTHREADS
|
||
|
#undef SIGC_PTHREAD_DCE
|
||
|
#ifdef SIGC_PTHREADS
|
||
|
#undef SIGC_PTHREAD_COND_ATTR
|
||
|
#undef SIGC_PTHREAD_COND_IMPL
|
||
|
#undef SIGC_PTHREAD_MUTEX_ATTR
|
||
|
#undef SIGC_PTHREAD_MUTEX_IMPL
|
||
|
#undef SIGC_PTHREAD_THREAD_ATTR
|
||
|
#undef SIGC_PTHREAD_THREAD_IMPL
|
||
|
#undef SIGC_PTHREAD_KEY_IMPL
|
||
|
#endif /* SIGC_PTHREADS */
|
||
|
#endif /* LIBSIGC_UNIX */
|
||
|
|
||
|
#ifdef LIBSIGC_BC
|
||
|
#define SIGC_CXX_NAMESPACES 1
|
||
|
#define SIGC_CXX_PARTIAL_SPEC 1
|
||
|
#define SIGC_CXX_MEMBER_FUNC_TEMPLATES 1
|
||
|
#define SIGC_CXX_MEMBER_CLASS_TEMPLATES 1
|
||
|
#define SIGC_CXX_MUTABLE 1
|
||
|
#define SIGC_CXX_FRIEND_TEMPLATES 1
|
||
|
#define SIGC_CXX_INT_CTOR 1
|
||
|
#define SIGC_CXX_VOID_RETURN 1
|
||
|
#define SIGC_CXX_SPECIALIZE_REFERENCES 1
|
||
|
#endif /* LIBSIGC_BC */
|
||
|
|
||
|
#ifdef LIBSIGC_MSC
|
||
|
#define SIGC_CXX_NAMESPACES 1
|
||
|
#define SIGC_CXX_MEMBER_FUNC_TEMPLATES 1
|
||
|
#define SIGC_CXX_MEMBER_CLASS_TEMPLATES 1
|
||
|
#define SIGC_CXX_MUTABLE 1
|
||
|
#define SIGC_CXX_TEMPLATE_CCTOR 1
|
||
|
#define SIGC_CXX_INT_CTOR 1
|
||
|
#endif /* LIBSIGC_MSC */
|
||
|
|
||
|
#ifdef LIBSIGC_WIN32
|
||
|
#ifdef LIBSIGC_EXPORTS
|
||
|
#define LIBSIGC_API __declspec(dllexport)
|
||
|
#define LIBSIGC_TMPL
|
||
|
#else
|
||
|
#define LIBSIGC_API __declspec(dllimport)
|
||
|
#define LIBSIGC_TMPL extern
|
||
|
#endif /* LIBSIGC_EXPORTS */
|
||
|
#else
|
||
|
#define LIBSIGC_API
|
||
|
#endif /* LIBSIGC_WIN32 */
|
||
|
|
||
|
|
||
|
#endif /* _SIGC_CONFIG_H_ */
|