Project

General

Profile

Bug #13496 » tool-m4-ruby_check_printf_prefix.m4.patch

MSP-Greg (Greg L), 01/20/2018 04:23 PM

View differences:

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
(1-1/2)