From 62c2f93fe63ee94ff2692091a42a7d594f5d4fe3 Mon Sep 17 00:00:00 2001 From: chpe Date: Tue, 16 Oct 2012 15:53:30 +0000 Subject: pcre32: Add 32-bit library Create libpcre32 that operates on 32-bit characters (UTF-32). This turned out to be surprisingly simple after the UTF-16 support was introduced; mostly just extra ifdefs and adjusting and adding some tests. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1055 2f5784b3-3f2a-0410-8824-cb99058d5e15 --- pcre_maketables.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pcre_maketables.c') diff --git a/pcre_maketables.c b/pcre_maketables.c index 8e466cc..610a669 100644 --- a/pcre_maketables.c +++ b/pcre_maketables.c @@ -66,12 +66,15 @@ Arguments: none Returns: pointer to the contiguous block of data */ -#ifdef COMPILE_PCRE8 +#if defined COMPILE_PCRE8 const unsigned char * pcre_maketables(void) -#else +#elif defined COMPILE_PCRE16 const unsigned char * pcre16_maketables(void) +#elif defined COMPILE_PCRE32 +const unsigned char * +pcre32_maketables(void) #endif { unsigned char *yield, *p; -- cgit v1.2.1