eliminate double stringification, the defines as done in git_version.h are already...
authorYves Orton <demerphq@gmail.com>
Sun, 4 Jan 2009 23:45:02 +0000 (00:45 +0100)
committerYves Orton <demerphq@gmail.com>
Sun, 4 Jan 2009 23:45:02 +0000 (00:45 +0100)
perl.c

diff --git a/perl.c b/perl.c
index 34bbbab..9091f2f 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -3309,7 +3309,7 @@ Perl_moreswitches(pTHX_ const char *s)
        {
            SV* level= vstringify(PL_patchlevel);
 #ifdef PERL_PATCHNUM
-           SV* num= newSVpvn(STRINGIFY(PERL_PATCHNUM),sizeof(STRINGIFY(PERL_PATCHNUM))-1);
+           SV* num= newSVpvn(PERL_PATCHNUM,sizeof(PERL_PATCHNUM)-1);
 #ifdef PERL_GIT_UNCOMMITTED_CHANGES
            sv_catpvs(num, "*");
 #endif