diff options
| author | ruki <[email protected]> | 2023-11-02 23:22:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-02 23:22:41 +0800 |
| commit | 8d73a80b51d05aa81b0aaf6da02824e33352ca57 (patch) | |
| tree | 5315e75206cc495fb9e37121c361dc137876499a /tests | |
| parent | 086e6dd7a5e8d0b821b25f9e42516c93bd6aa223 (diff) | |
update check_xxx test
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/apis/check_xxx/xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/apis/check_xxx/xmake.lua b/tests/apis/check_xxx/xmake.lua index c68f71b48..c670d0ee1 100644 --- a/tests/apis/check_xxx/xmake.lua +++ b/tests/apis/check_xxx/xmake.lua @@ -18,6 +18,7 @@ target("foo") return test(); }]], {tryrun = true}) check_csnippets("INT_SIZE", 'printf("%d", sizeof(int)); return 0;', {output = true, number = true}) + check_sizeof("LONG_SIZE", "long") configvar_check_cincludes("HAS_STRING_AND_STDIO_H", {"string.h", "stdio.h"}) configvar_check_ctypes("HAS_WCHAR_AND_FLOAT", {"wchar_t", "float"}) configvar_check_links("HAS_PTHREAD", {"pthread", "m", "dl"}) |
