Skip to content

Commit

Permalink
Updated PCRE used for win32 builds.
Browse files Browse the repository at this point in the history
As of PCRE 8.33, config.h.generic no longer contains boolean macros.  Two
of them (SUPPORT_PCRE8 and HAVE_MEMMOVE) were added to appropriate makefiles.
This allows PCRE 8.33 to compile and don't change anything for previous
versions.
  • Loading branch information
mdounin committed Aug 23, 2013
1 parent 4ef1857 commit d5591e9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion auto/lib/pcre/makefile.bcc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@


CFLAGS = -q -O2 -tWM -w-8004 $(CPU_OPT)
PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 \
-DSUPPORT_PCRE8 -DHAVE_MEMMOVE


pcre.lib:
Expand Down
3 changes: 2 additions & 1 deletion auto/lib/pcre/makefile.msvc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@


CFLAGS = -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT)
PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 \
-DSUPPORT_PCRE8 -DHAVE_MEMMOVE


pcre.lib:
Expand Down
3 changes: 2 additions & 1 deletion auto/lib/pcre/makefile.owc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@


CFLAGS = -c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)
PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 \
-DSUPPORT_PCRE8 -DHAVE_MEMMOVE


pcre.lib:
Expand Down
2 changes: 1 addition & 1 deletion misc/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TEMP = tmp
OBJS = objs.msvc8
OPENSSL = openssl-1.0.1e
ZLIB = zlib-1.2.8
PCRE = pcre-8.32
PCRE = pcre-8.33


release: export
Expand Down

0 comments on commit d5591e9

Please sign in to comment.