summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorMarkus Minichmayr <markus@tapkey.com>2018-03-15 22:44:18 +0100
committerMarkus Minichmayr <markus@tapkey.com>2022-01-22 15:33:16 +0100
commitd1962bffa362d5c6d84c5d117e1b6fd7cbcad7e7 (patch)
tree9745cb643579b4b4df2987b6f179de29bc243a1c /config.h.cmake
parenta1986d42808cc8ffcf9fd6f32b9fd1fd66ba9a0f (diff)
downloadlibical-git-d1962bffa362d5c6d84c5d117e1b6fd7cbcad7e7.tar.gz
Allow configuring implementation of `fprintf` and `assert` to allow more flexible use or to reduce program size.
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 43767758..93f7c6e7 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -548,3 +548,6 @@ typedef ssize_t IO_SSIZE_T;
#define _unused(x) (void)x
#endif
#endif
+
+#define icalassert(...) assert(__VA_ARGS__)
+#define icalerrprintf(...) fprintf(stderr, __VA_ARGS__)