Diffstat (limited to 'noncore/apps/opie-reader/config.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/config.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/config.h b/noncore/apps/opie-reader/config.h new file mode 100644 index 0000000..5150270 --- a/dev/null +++ b/noncore/apps/opie-reader/config.h @@ -0,0 +1,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 |