diff options
author | David Robillard <d@drobilla.net> | 2019-10-17 13:03:47 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-17 13:03:47 +0200 |
commit | 8ca84c20ab0f5b5e0a81c5d5d571376360b8a4c6 (patch) | |
tree | f08d4136aa2c1706d0b1c7d2d794e75e918bfa51 | |
parent | ee8a152cb35ad835455a583d0d933ca49e78d5db (diff) | |
download | jalv-8ca84c20ab0f5b5e0a81c5d5d571376360b8a4c6.tar.gz jalv-8ca84c20ab0f5b5e0a81c5d5d571376360b8a4c6.tar.bz2 jalv-8ca84c20ab0f5b5e0a81c5d5d571376360b8a4c6.zip |
Fix check for POSIX functions
-rw-r--r-- | src/jalv_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h index b159ebd..404d715 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -530,7 +530,7 @@ jalv_vprintf(LV2_Log_Handle handle, static inline bool jalv_ansi_start(FILE* stream, int color) { -#ifdef HAVE_ISATTY +#if defined(HAVE_ISATTY) && defined(HAVE_FILENO) if (isatty(fileno(stream))) { return fprintf(stream, "\033[0;%dm", color); } |