Teach test cases/common/140 of the existence of Cygwin

pull/1567/head
Jon Turney 8 years ago
parent 8a2699acd0
commit b4b55c3022
  1. 3
      test cases/common/140 get define/meson.build

@ -13,6 +13,9 @@ foreach lang : ['c', 'cpp']
elif host_system == 'windows'
d = cc.get_define('_WIN32')
assert(d == '1', '_WIN32 value is @0@ instead of 1'.format(d))
elif host_system == 'cygwin'
d = cc.get_define('__CYGWIN__')
assert(d == '1', '__CYGWIN__ value is @0@ instead of 1'.format(d))
else
error('Please report a bug and help us improve support for this platform')
endif

Loading…
Cancel
Save