Improve build tool api, cleanup pass, add lexer tests

This commit is contained in:
Krzosa Karol
2024-01-25 22:21:58 +01:00
parent 738d27db9d
commit e39cd78546
12 changed files with 94 additions and 94 deletions

View File

@@ -81,24 +81,24 @@
#endif
#if OS_MAC
#define ON_MAC(x) x
#define IF_MAC(x) x
#else
#define ON_MAC(x)
#define IF_MAC(x)
#endif
#if OS_WINDOWS
#define ON_WINDOWS(x) x
#define IF_WINDOWS(x) x
#define IF_WINDOWS_ELSE(x, y) x
#else
#define ON_WINDOWS(x)
#define IF_WINDOWS(x)
#define IF_WINDOWS_ELSE(x, y) y
#endif
#if OS_LINUX
#define ON_LINUX(x) x
#define IF_LINUX(x) x
#define IF_LINUX_ELSE(x, y) x
#else
#define ON_LINUX(x)
#define IF_LINUX(x)
#define IF_LINUX_ELSE(x, y) y
#endif