Minimize C++ dependency
This commit is contained in:
parent
9bec435336
commit
57b66e3a62
11
src/log.h
11
src/log.h
@ -10,10 +10,17 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdbool.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#ifndef bool
|
||||||
|
|
||||||
|
#define bool int
|
||||||
|
#define true 1
|
||||||
|
#define false 0
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define LOG_VERSION "0.1.0"
|
#define LOG_VERSION "0.1.0"
|
||||||
|
|
||||||
#ifndef RXI_LOGC_DEFAULT_LEVEL
|
#ifndef RXI_LOGC_DEFAULT_LEVEL
|
||||||
|
Loading…
Reference in New Issue
Block a user