commit 1f263c2ff37dd66f12111c1193bdc433f78e5ceb
parent 28e03a5561dec00dcc0e88ef160c77c0b6860418
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Thu, 1 Jun 2017 09:38:58 +0200
Fix the windows build
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/solstice.c b/src/solstice.c
@@ -52,7 +52,7 @@ log_err(const char* msg, void* ctx)
{
ASSERT(msg);
(void)ctx;
-#if OS_WINDOWS
+#ifdef OS_WINDOWS
fprintf(stderr, "error: %s", msg);
#else
fprintf(stderr, "\x1b[31merror:\x1b[0m %s", msg);