summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-28 11:53:09 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-10-28 11:53:09 +0000
commitbcc9bd029b853c3714b2c17847e45a218647497b (patch)
tree68fc4f9cbe7c43a6672ba15e74a4af5dbab41b76
parentb81e462579107686b1f08784433142ba74ba6571 (diff)
downloadpcre-bcc9bd029b853c3714b2c17847e45a218647497b.tar.gz
Add a definition for CHAR_NULL (helpful for the z/OS port).
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1185 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r--ChangeLog3
-rw-r--r--pcre_internal.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ee0cdea..a02b250 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -128,6 +128,9 @@ Version 8.32
26. Applied a modified version of Daniel Richard G's patch to create
pcre.h.generic and config.h.generic by "make" instead of in the
PrepareRelease script.
+
+27. Added a definition for CHAR_NULL (helpful for the z/OS port). The code base
+ should be refactored to use it as and when convenient.
Version 8.31 06-July-2012
diff --git a/pcre_internal.h b/pcre_internal.h
index 9c6375d..58748fa 100644
--- a/pcre_internal.h
+++ b/pcre_internal.h
@@ -1286,6 +1286,7 @@ a positive value. */
/* The remaining definitions work in both environments. */
+#define CHAR_NULL '\0'
#define CHAR_HT '\t'
#define CHAR_VT '\v'
#define CHAR_FF '\f'