summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-09-14 23:33:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-09-14 23:33:24 +0000
commit04d451f090a59e096216e10d01b5b857895c5973 (patch)
treef5c9536493efea38d884be50931a41610bc1fd19 /embed.pl
parentd2f449dd43c68ee43aecff7e17640d02830ae584 (diff)
downloadperl-04d451f090a59e096216e10d01b5b857895c5973.tar.gz
Part of #7081 didn't come through.
p4raw-id: //depot/perl@7091
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 559c62a8f1..f84be4a07b 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 CHECK_FORMAT\n";
+ $ret .= "\n#ifdef HASATTRIBUTE\n";
$ret .= sprintf " __attribute__((format(printf,%s%d,%s%d)))",
$prefix, $args - 1, $prefix, $args;
$ret .= "\n#endif\n";