[exim-cvs] PCRE_PRERELEASE is a bare sequence, not a string.

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] PCRE_PRERELEASE is a bare sequence, not a string.
Gitweb: http://git.exim.org/exim.git/commitdiff/f82a3c9b085560c97e17a796e01b73f1accfd24e
Commit:     f82a3c9b085560c97e17a796e01b73f1accfd24e
Parent:     2a6eeda6d1747e96f9a3809be4cea07d6cb11451
Author:     Phil Pennock <pdp@???>
AuthorDate: Tue Oct 11 03:27:17 2011 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Tue Oct 11 03:27:17 2011 -0400


    PCRE_PRERELEASE is a bare sequence, not a string.
---
 src/src/exim.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/src/src/exim.c b/src/src/exim.c
index 670319b..a6c0d78 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -973,7 +973,9 @@ DEBUG(D_any) do {
            * unless its an ancient version of PCRE in which case it
            * is not defined */
 #ifdef PCRE_PRERELEASE
-          PCRE_PRERELEASE "",
+# define STRINGIFY(x) #x
+          STRINGIFY(PCRE_PRERELEASE) "",
+# undef STRINGIFY
 #else
           "",
 #endif