diff options
| author | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-16 09:14:01 +0100 |
|---|---|---|
| committer | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-16 09:14:01 +0100 |
| commit | d29b2c8af98f34745eca362fb1d65002170e7156 (patch) | |
| tree | 540647022d2c30143714ed247d93c98a1fbdf7e2 /lib/io/io.c | |
| parent | b9038b1c6b31a8f8d6b8b648cee0cf3b457dc24c (diff) | |
make io unittest with #ifdef
Diffstat (limited to 'lib/io/io.c')
| -rw-r--r-- | lib/io/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/io/io.c b/lib/io/io.c index 41cd3e0..ed1ba14 100644 --- a/lib/io/io.c +++ b/lib/io/io.c @@ -44,7 +44,9 @@ void wstdf__(const char *buf, void **args) __wstdn(start, buf - start); } +#ifdef IO_LIB_UNIT_TEST int main() { void *args[] = { "hallo", "welt" }; wstdf__("%s %s\n", args); } +#endif |