Recoded russian messages to UTF-8
[centerim.git] / kkstrtext / conf.h
blob698b35401e7c2d0e46d99af8657fdece7cf78d96
1 #ifndef __KONST_CONF_H__
2 #define __KONST_CONF_H__
4 #if defined(__sgi) && !defined(__GNUC__) && (_COMPILER_VERSION >= 721) && defined(_NAMESPACES)
5 #define __KTOOL_USE_NAMESPACES
6 #endif
8 #if defined(__COMO__)
9 #define __KTOOL_USE_NAMESPACES
10 #endif
12 #ifdef __GNUC__
13 #ifdef HAVE__G_CONFIG_H
14 #include <_G_config.h>
15 #endif
16 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 9)
17 #else
18 #define __KTOOL_USE_NAMESPACES
19 #endif
20 #endif
22 #ifdef __KTOOL_USE_NAMESPACES
24 #define __KTOOL_BEGIN_NAMESPACE namespace ktool {
25 #define __KTOOL_END_NAMESPACE }
27 using namespace std;
29 #else
31 #define __KTOOL_BEGIN_NAMESPACE
32 #define __KTOOL_END_NAMESPACE
34 #endif
36 #define __KTOOL_BEGIN_C extern "C" {
37 #define __KTOOL_END_C }
39 #endif