This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[PATCH] Add gcc predefined macros to $Config{cppsymbols} on GNU/Hurd.
authorH.Merijn Brand <merijn@tux.site>
Mon, 1 Feb 2010 11:57:47 +0000 (12:57 +0100)
committerH.Merijn Brand <merijn@tux.site>
Mon, 1 Feb 2010 11:57:47 +0000 (12:57 +0100)
This is needed at least by h2ph, otherwise the generated .ph files
choke on missing __LONG_MAX__ and similar definitions.

Patch by Samuel Thibault <sthibault@debian.org>.

U/modified/Cppsym.U

index ad3a58e..6eed09b 100644 (file)
@@ -219,7 +219,7 @@ $eunicefix Cppsym.try
 ./Cppsym < Cppsym.know > Cppsym.true
 : Add in any linux cpp "predefined macros":
 case "$osname::$gccversion" in
-  *linux*::*.*|*gnukfreebsd*::*.*)
+  *linux*::*.*|*gnukfreebsd*::*.*|gnu::*.*)
     tHdrH=_tmpHdr
     rm -f $tHdrH'.h' $tHdrH
     touch $tHdrH'.h'