From 57b66e3a621242999928302ca37632c2cea593e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rostislav=20St=C5=99=C3=ADbrn=C3=BD?= Date: Fri, 4 Nov 2022 12:58:40 +0100 Subject: [PATCH] Minimize C++ dependency --- src/log.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/log.h b/src/log.h index 172ce2a..e73fb47 100644 --- a/src/log.h +++ b/src/log.h @@ -10,10 +10,17 @@ #include #include -#include -#include #include +#ifndef bool + +#define bool int +#define true 1 +#define false 0 + +#endif + + #define LOG_VERSION "0.1.0" #ifndef RXI_LOGC_DEFAULT_LEVEL