blob: 80186fef8a28bf1426da9c45bed913f280a41c37 [file] [log] [blame]
project('endian check', 'c')
if host_machine.endian() == 'big'
add_global_arguments('-DIS_BE', language : 'c')
endif
test('endiantest', executable('prog', 'prog.c'))