From 57d468518f533743a77817d0286e44c2a7eec4ac Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 11 Sep 2011 18:30:45 +0200 Subject: [PATCH] fix __has_extension macro to take an argument --- cf/make-proto.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf/make-proto.pl b/cf/make-proto.pl index 37bc3b5b8..a158c5a94 100644 --- a/cf/make-proto.pl +++ b/cf/make-proto.pl @@ -314,7 +314,7 @@ my $undepstr = ""; foreach (keys %depfunction) { $depstr .= "#ifndef $_ #ifndef __has_extension -#define __has_extension 0 +#define __has_extension(x) 0 #define ${_}has_extension 1 #endif #if __has_extension(attribute_deprecated_with_message)