summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNigel Metheringham <nigel@exim.org>2011-01-26 11:04:32 +0000
committerNigel Metheringham <nigel@exim.org>2011-01-26 11:04:32 +0000
commitaa097c4c00f62487128d74f65c521f9e877b184f (patch)
tree6078a7cbc0026042981e268b79039411c034de0a /src
parent88d5edb00796448347da8544088b0db1f9b61ddf (diff)
Workround compile error with old PCRE versions
Fixes bug #1073
Diffstat (limited to 'src')
-rw-r--r--src/src/exim.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/src/exim.c b/src/src/exim.c
index e23697506..b3035ca7c 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -931,8 +931,13 @@ DEBUG(D_any) do {
" Runtime: %s\n",
PCRE_MAJOR, PCRE_MINOR,
/* PRE_PRERELEASE is either defined and empty or a string.
- * This should work: */
+ * unless its an ancient version of PCRE in which case it
+ * is not defined */
+#ifdef PCRE_PRERELEASE
PCRE_PRERELEASE "",
+#else
+ "",
+#endif
pcre_version());
init_lookup_list();