tests: add sunos to get define
@@ -38,6 +38,9 @@ foreach lang : ['c', 'cpp']
elif host_system == 'gnu'
d = cc.get_define('__GNU__')
assert(d == '1', '__GNU__ value is @0@ instead of 1'.format(d))
+ elif host_system == 'sunos'
+ d = cc.get_define('__sun__')
+ assert(d == '1', '__sun__ value is @0@ instead of 1'.format(d))
else
error('Please report a bug and help us improve support for this platform')
endif
