This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig unit change to go with #19527.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 16 May 2003 17:48:42 +0000 (17:48 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 16 May 2003 17:48:42 +0000 (17:48 +0000)
p4raw-id: //depot/metaconfig@19530

U/modified/d_attribut.U

index 42902e3..dcc7625 100644 (file)
@@ -47,7 +47,7 @@ echo " "
 echo "Checking whether your compiler can handle __attribute__ ..." >&4
 $cat >attrib.c <<'EOCP'
 #include <stdio.h>
-void croak (char* pat,...) __attribute__((format(printf,1,2),noreturn));
+void croak (char* pat,...) __attribute__((__format__(__printf__,1,2),noreturn));
 EOCP
 if $cc $ccflags -c attrib.c >attrib.out 2>&1 ; then
        if $contains 'warning' attrib.out >/dev/null 2>&1; then