summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
index 0ece7e6..537cb6e 100644
--- a/src/log.h
+++ b/src/log.h
@@ -10,6 +10,11 @@
exit(1); \
}
+#define TODO(msg) \
+ do { \
+ ERROR_EXIT("TODO: %s", msg); \
+ } while (0)
+
#define LOG_WARN_ENABLED 1
#define LOG_INFO_ENABLED 1