Bug #13496 » tool-m4-ruby_check_printf_prefix.m4.patch
| tool/m4/ruby_check_printf_prefix.m4 | ||
|---|---|---|
|
[@%:@include <stdio.h>
|
||
|
@%:@include <stddef.h>
|
||
|
@%:@ifdef __GNUC__
|
||
|
@%:@ifdef __MINGW32__
|
||
|
@%:@define PRINTF_ARGS(decl, string_index, first_to_check) \
|
||
|
decl __attribute__((format(gnu_printf, string_index, first_to_check)))
|
||
|
@%:@else
|
||
|
@%:@define PRINTF_ARGS(decl, string_index, first_to_check) \
|
||
|
decl __attribute__((format(printf, string_index, first_to_check)))
|
||
|
@%:@endif
|
||
|
@%:@else
|
||
|
@%:@define PRINTF_ARGS(decl, string_index, first_to_check) decl
|
||
|
@%:@endif
|
||