summaryrefslogtreecommitdiffhomepage
path: root/include/c11
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-03-10 18:36:28 +0100
committerTyge Løvset <[email protected]>2023-03-10 18:36:28 +0100
commit1ac8bb4ff664baa838b44ed6bf62225766f000c5 (patch)
tree464e2024d4db8f43c4e98067cd3d50ebcc02ac83 /include/c11
parentfde6d44c76efdfc8752705122204c38281a844dd (diff)
downloadSTC-modified-1ac8bb4ff664baa838b44ed6bf62225766f000c5.tar.gz
STC-modified-1ac8bb4ff664baa838b44ed6bf62225766f000c5.zip
Added short names by default to c11/fmt.h print, println and printd.
c_forwhile() now takes container not start iter: may be removed! Cleanup in filter.h
Diffstat (limited to 'include/c11')
-rw-r--r--include/c11/fmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/c11/fmt.h b/include/c11/fmt.h
index a6f7985c..193520b1 100644
--- a/include/c11/fmt.h
+++ b/include/c11/fmt.h
@@ -99,7 +99,7 @@ FMT_API void _fmt_bprint(fmt_buffer*, const char* fmt, ...);
#define FMT_MAX 256
#endif
-#ifdef FMT_SHORTS
+#ifndef FMT_NOSHORTS
#define print(...) fmt_printd(stdout, __VA_ARGS__)
#define println(...) fmt_printd((fmt_buffer*)0, __VA_ARGS__)
#define printd fmt_printd