diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-11-20 16:58:11 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-12-07 09:35:12 -0800 |
commit | b56450f9b25a02462164d0b6a0e47faa1c730c74 (patch) | |
tree | ddf57c7b828703527d6779202cfc15d893779e10 | |
parent | fc547ad05e5a8e650ae5bc2ecc7d40e4dbcc9f0f (diff) | |
download | meson-b56450f9b25a02462164d0b6a0e47faa1c730c74.zip meson-b56450f9b25a02462164d0b6a0e47faa1c730c74.tar.gz meson-b56450f9b25a02462164d0b6a0e47faa1c730c74.tar.bz2 |
tests: Add haiku to get define test
-rw-r--r-- | test cases/common/140 get define/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/common/140 get define/meson.build b/test cases/common/140 get define/meson.build index 9342340..e23b7de 100644 --- a/test cases/common/140 get define/meson.build +++ b/test cases/common/140 get define/meson.build @@ -16,6 +16,9 @@ foreach lang : ['c', 'cpp'] elif host_system == 'cygwin' d = cc.get_define('__CYGWIN__') assert(d == '1', '__CYGWIN__ value is @0@ instead of 1'.format(d)) + elif host_system == 'haiku' + d = cc.get_define('__HAIKU__') + assert(d == '1', '__HAIKU__ value is @0@ instead of 1'.format(d)) else error('Please report a bug and help us improve support for this platform') endif |