fix __has_extension macro to take an argument

This commit is contained in:
Love Hornquist Astrand
2011-09-11 18:30:45 +02:00
parent 4b0087fd4a
commit 57d468518f

View File

@@ -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)