#ifdef __cplusplus
#      define C extern "C"
#else
#      define C
#endif

#ifdef _MSC_VER
#      define far
#endif

typedef unsigned long   ulong;
typedef unsigned short  uint;
typedef unsigned char   uchar;
typedef signed   long   slong;
typedef signed   short  sint;
typedef signed   char   schar;
