From 821939c6a6eb5761708146783ebd562422c2a7f7 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 25 Aug 2016 20:29:50 +0200 Subject: pedantic --- interpreter/log.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 interpreter/log.c (limited to 'interpreter/log.c') diff --git a/interpreter/log.c b/interpreter/log.c new file mode 100644 index 0000000..c369b4b --- /dev/null +++ b/interpreter/log.c @@ -0,0 +1,9 @@ +#include "log.h" + +#include + +#if(LOG_LEVEL < LOG_DEBUG) +void log_debug(char* msg) { + fprintf(stdout, "%s\n", msg); +} +#endif -- cgit v1.2.3