aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/log.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/log.c b/src/log.c
index c267ade..59ea096 100644
--- a/src/log.c
+++ b/src/log.c
@@ -96,6 +96,9 @@ jalv_ansi_start(FILE* stream, int color)
if (isatty(fileno(stream))) {
return fprintf(stream, "\033[0;%dm", color);
}
+#else
+ (void)stream;
+ (void)color;
#endif
return 0;
}
@@ -108,5 +111,7 @@ jalv_ansi_reset(FILE* stream)
fprintf(stream, "\033[0m");
fflush(stream);
}
+#else
+ (void)stream;
#endif
}