1 #ifndef _SIGC_CONFIG_H_
2 #define _SIGC_CONFIG_H_
10 #undef SIGC_MAJOR_VERSION
11 #undef SIGC_MINOR_VERSION
12 #undef SIGC_MICRO_VERSION
14 // detect common platforms
16 // Win32 compilers have a lot of varation
17 #if defined(__BORLANDC__)
20 #elif defined(_MSC_VER)
23 #elif defined(__CYGWIN__)
26 #error "Unknown architecture (send me gcc --dumpspecs)"
34 #undef SIGC_CXX_NAMESPACES
35 #undef SIGC_CXX_PARTIAL_SPEC
36 #undef SIGC_CXX_MEMBER_FUNC_TEMPLATES
37 #undef SIGC_CXX_MEMBER_CLASS_TEMPLATES
38 #undef SIGC_CXX_MUTABLE
39 #undef SIGC_CXX_FRIEND_TEMPLATES
40 #undef SIGC_CXX_TEMPLATE_CCTOR
41 #undef SIGC_CXX_INT_CTOR
42 #undef SIGC_CXX_VOID_RETURN
43 #undef SIGC_CXX_SPECIALIZE_REFERENCES
45 #undef SIGC_PTHREAD_DCE
47 #undef SIGC_PTHREAD_COND_ATTR
48 #undef SIGC_PTHREAD_COND_IMPL
49 #undef SIGC_PTHREAD_MUTEX_ATTR
50 #undef SIGC_PTHREAD_MUTEX_IMPL
51 #undef SIGC_PTHREAD_THREAD_ATTR
52 #undef SIGC_PTHREAD_THREAD_IMPL
53 #undef SIGC_PTHREAD_KEY_IMPL
54 #endif /* SIGC_PTHREADS */
55 #endif /* LIBSIGC_UNIX */
58 #define SIGC_CXX_NAMESPACES 1
59 #define SIGC_CXX_PARTIAL_SPEC 1
60 #define SIGC_CXX_MEMBER_FUNC_TEMPLATES 1
61 #define SIGC_CXX_MEMBER_CLASS_TEMPLATES 1
62 #define SIGC_CXX_MUTABLE 1
63 #define SIGC_CXX_FRIEND_TEMPLATES 1
64 #define SIGC_CXX_INT_CTOR 1
65 #define SIGC_CXX_VOID_RETURN 1
66 #define SIGC_CXX_SPECIALIZE_REFERENCES 1
67 #endif /* LIBSIGC_BC */
70 #define SIGC_CXX_NAMESPACES 1
71 #define SIGC_CXX_MEMBER_FUNC_TEMPLATES 1
72 #define SIGC_CXX_MEMBER_CLASS_TEMPLATES 1
73 #define SIGC_CXX_MUTABLE 1
74 #define SIGC_CXX_TEMPLATE_CCTOR 1
75 #define SIGC_CXX_INT_CTOR 1
76 #endif /* LIBSIGC_MSC */
79 #ifdef LIBSIGC_EXPORTS
80 #define LIBSIGC_API __declspec(dllexport)
83 #define LIBSIGC_API __declspec(dllimport)
84 #define LIBSIGC_TMPL extern
85 #endif /* LIBSIGC_EXPORTS */
88 #endif /* LIBSIGC_WIN32 */
91 #endif /* _SIGC_CONFIG_H_ */