author | llornkcor <llornkcor> | 2002-07-01 23:24:08 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-01 23:24:08 (UTC) |
commit | 59222a752fa4c8a1e8c2a00ee2f9e22855f12bb2 (patch) (unidiff) | |
tree | f148d4858859dac3b413e675c760acfdab24b8e6 /noncore/apps/opie-reader/config.h | |
parent | c08be8ae22dcc1bfb83cfdec807149b161d770f5 (diff) | |
download | opie-59222a752fa4c8a1e8c2a00ee2f9e22855f12bb2.zip opie-59222a752fa4c8a1e8c2a00ee2f9e22855f12bb2.tar.gz opie-59222a752fa4c8a1e8c2a00ee2f9e22855f12bb2.tar.bz2 |
initial
Diffstat (limited to 'noncore/apps/opie-reader/config.h') (more/less context) (show 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 @@ | |||
1 | #ifndef __CONFIG_H | ||
2 | #define __CONFIG_H | ||
3 | |||
4 | #define _UNICODE | ||
5 | |||
6 | #ifdef _UNICODE | ||
7 | #include <limits.h> | ||
8 | |||
9 | #define UTF8 | ||
10 | |||
11 | typedef unsigned short tchar; | ||
12 | const tchar UEOF = USHRT_MAX; | ||
13 | |||
14 | #else | ||
15 | typedef char tchar; | ||
16 | const int UEOF = -1; | ||
17 | #endif | ||
18 | |||
19 | #include "ustring.h" | ||
20 | |||
21 | #endif | ||