1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef __CONFIG_H #define __CONFIG_H #define _UNICODE #ifdef _UNICODE #include <limits.h> #define UTF8 typedef unsigned short tchar; const tchar UEOF = USHRT_MAX; #else typedef char tchar; const int UEOF = -1; #endif #include "ustring.h" #endif