diff options
| author | Mosder <git@mosder.eu> | 2026-10-20 14:44:33 +0200 |
|---|---|---|
| committer | Mosder <git@mosder.eu> | 2026-10-20 14:44:33 +0200 |
| commit | fc5f5f1f58542500734841822768267d0ece2456 (patch) | |
| tree | 0501e3d718338094f58f5e6af1232ee4900372b2 /tests/string_tests.c | |
| parent | ec315985c9f51c932b1177539c43a024bf58207d (diff) | |
feat: improved support for windows. added gating behind _WIN32 to use _ prefixed versions of functions and made it work (with limited functionality) on machines without fileno
Diffstat (limited to 'tests/string_tests.c')
| -rw-r--r-- | tests/string_tests.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/string_tests.c b/tests/string_tests.c index 7638f9b..41c6cd8 100644 --- a/tests/string_tests.c +++ b/tests/string_tests.c @@ -6,7 +6,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include "moslib/ds/array.h" @@ -43,7 +42,9 @@ TEST(ss_print_helper) { } TEST(printing) { +#ifndef NO_FS test_assert_out(ss_print_helper, stdout, "test"); +#endif StringSlice ss = ss_from_str("slice"); char buf[16]; |
