fix __has_extension macro to take an argument
This commit is contained in:
		| @@ -314,7 +314,7 @@ my $undepstr = ""; | |||||||
| foreach (keys %depfunction) { | foreach (keys %depfunction) { | ||||||
|     $depstr .= "#ifndef $_ |     $depstr .= "#ifndef $_ | ||||||
| #ifndef __has_extension | #ifndef __has_extension | ||||||
| #define __has_extension 0 | #define __has_extension(x) 0 | ||||||
| #define ${_}has_extension 1 | #define ${_}has_extension 1 | ||||||
| #endif | #endif | ||||||
| #if __has_extension(attribute_deprecated_with_message) | #if __has_extension(attribute_deprecated_with_message) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Love Hornquist Astrand
					Love Hornquist Astrand