diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-03-07 11:02:28 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-03-07 11:02:28 +0000 |
commit | a1609fda1aaf8a8499844b5021f7b03ec66e7d43 (patch) | |
tree | 03e16816cb2d6382b6cb48c7bdd273b051f21d93 /pcre_tables.c | |
parent | f1bf86368f88991a780fe5e0142c2e7b5b019f10 (diff) | |
download | pcre-a1609fda1aaf8a8499844b5021f7b03ec66e7d43.tar.gz |
Added some additional #ifdef SUPPORT_UTF8 to minimize the code when UTF-8
support is not compiled.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@107 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_tables.c')
-rw-r--r-- | pcre_tables.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pcre_tables.c b/pcre_tables.c index 53690d7..18a4bb1 100644 --- a/pcre_tables.c +++ b/pcre_tables.c @@ -61,6 +61,8 @@ const uschar _pcre_OP_lengths[] = { OP_LENGTHS }; /* These are the breakpoints for different numbers of bytes in a UTF-8 character. */ +#ifdef SUPPORT_UTF8 + const int _pcre_utf8_table1[] = { 0x7f, 0x7ff, 0xffff, 0x1fffff, 0x3ffffff, 0x7fffffff}; @@ -194,4 +196,6 @@ const ucp_type_table _pcre_utt[] = { const int _pcre_utt_size = sizeof(_pcre_utt)/sizeof(ucp_type_table); +#endif /* SUPPORT_UTF8 */ + /* End of pcre_tables.c */ |