connwrap - initialize gnutls session in cw_connect
[centerim.git] / kkstrtext / conf.h
blob64b179899caea6c5447d5edbfa59e79296dfcd10
1 #ifndef __KONST_CONF_H__
2 #define __KONST_CONF_H__
4 #ifdef HAVE_CONFIG_H
5 #include <config.h>
6 #endif
8 #if defined(__sgi) && !defined(__GNUC__) && (_COMPILER_VERSION >= 721) && defined(_NAMESPACES)
9 #define __KTOOL_USE_NAMESPACES
10 #endif
12 #if defined(__COMO__)
13 #define __KTOOL_USE_NAMESPACES
14 #endif
16 #ifdef __GNUC__
17 #ifdef HAVE__G_CONFIG_H
18 #include <_G_config.h>
19 #endif
20 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 9)
21 #else
22 #define __KTOOL_USE_NAMESPACES
23 #endif
24 #endif
26 #ifdef __KTOOL_USE_NAMESPACES
28 #define __KTOOL_BEGIN_NAMESPACE namespace ktool {
29 #define __KTOOL_END_NAMESPACE }
31 using namespace std;
33 #else
35 #define __KTOOL_BEGIN_NAMESPACE
36 #define __KTOOL_END_NAMESPACE
38 #endif
40 #define __KTOOL_BEGIN_C extern "C" {
41 #define __KTOOL_END_C }
43 #endif