summaryrefslogtreecommitdiff
path: root/include/kitchensink/internal/utils/kitlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kitchensink/internal/utils/kitlog.h')
-rw-r--r--include/kitchensink/internal/utils/kitlog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kitchensink/internal/utils/kitlog.h b/include/kitchensink/internal/utils/kitlog.h
index 1a56e53..56ff493 100644
--- a/include/kitchensink/internal/utils/kitlog.h
+++ b/include/kitchensink/internal/utils/kitlog.h
@@ -3,9 +3,11 @@
#ifdef NDEBUG
#define LOG(...)
+ #define LOGFLUSH()
#else
#include <stdio.h>
#define LOG(...) fprintf(stderr, __VA_ARGS__)
+ #define LOGFLUSH() fflush(stderr)
#endif
#endif // KITLOG_H