summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2000-09-29 14:10:22 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-02 23:15:46 +0000
commitd5b3b44068efd6120540a0f4911e9fcc6a150b72 (patch)
tree397340c585df604114f46616d7aff5a3106e8d18 /embed.pl
parent87714904135dbd2ae4657dbe20a531654286994e (diff)
downloadperl-d5b3b44068efd6120540a0f4911e9fcc6a150b72.tar.gz
Retract #7091 as suggested in
Subject: [PATCH-R] was Re: SuSE's gcc-2.95.2 and //depot/perl Message-Id: <200009291210.NAA17098@tempest.npl.co.uk> p4raw-id: //depot/perl@7108
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.pl b/embed.pl
index 5ae80eb5a9..9e05b1b984 100755
--- a/embed.pl
+++ b/embed.pl
@@ -138,7 +138,7 @@ sub write_protos {
if( $flags =~ /f/ ) {
my $prefix = $flags =~ /n/ ? '' : 'pTHX_';
my $args = scalar @args;
- $ret .= "\n#ifdef HASATTRIBUTE\n";
+ $ret .= "\n#ifdef CHECK_FORMAT\n";
$ret .= sprintf " __attribute__((format(printf,%s%d,%s%d)))",
$prefix, $args - 1, $prefix, $args;
$ret .= "\n#endif\n";