diff options
author | pommicket <pommicket@gmail.com> | 2022-12-24 13:59:43 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-24 13:59:43 -0500 |
commit | 1793fa40528295306d1d790074fdd8f382e8bef3 (patch) | |
tree | 2acc72e0ff15c0c66e478ea88bce4039f89d0b0a /base.h | |
parent | a68d59e180b8131197c6387a764a78403b06e069 (diff) |
testing LSPs for other languages
Diffstat (limited to 'base.h')
-rw-r--r-- | base.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -159,10 +159,13 @@ static void print(char const *fmt, ...) { va_end(args); OutputDebugStringA(buf); } +#define eprint print #else #define print printf +#define eprint(...) fprintf(stderr, __VA_ARGS__) #endif #define println(...) print(__VA_ARGS__), print("\n") +#define eprintln(...) eprint(__VA_ARGS__), eprint("\n") #if DEBUG #define debug_print print |