+/*----------------------------------------------------------------------*/
+
+#if defined(MICROSOFT) || ! defined(SIZEOF_INT)
+ #define SIZEOF_INT 4
+ #define SIZEOF_LONG 4
+ #define SIZEOF_SHORT 2
+ #define SIZEOF_FLOAT 4
+ #define SIZEOF_DOUBLE 8
+#endif
+
+typedef signed char kint8;
+typedef unsigned char kuint8;
+
+#if SIZEOF_INT == 4
+ typedef int kint32;
+ typedef unsigned int kuint32;
+#elif SIZEOF_LONG == 4
+ typedef long int kint32;
+ typedef unsigned int kuint32;
+#endif
+
+#if SIZEOF_SHORT == 2
+ typedef short int kint16;
+ typedef unsigned short int kuint16;
+#elif SIZEOF_INT == 2
+ typedef int kint16;
+ typedef unsigned int kuint16;
+#endif
+
+#if SIZEOF_FLOAT == 4
+ typedef float kfloat32;
+#endif
+#if SIZEOF_DOUBLE == 8
+ typedef double kfloat64;
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+