aboutsummaryrefslogtreecommitdiff
path: root/src/xz/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz/message.c')
-rw-r--r--src/xz/message.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xz/message.c b/src/xz/message.c
index a87f864d..056ba5ea 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -15,6 +15,11 @@
#include <stdarg.h>
+#ifdef _MSC_VER
+# include <io.h>
+# define isatty _isatty
+#endif
+
/// Number of the current file
static unsigned int files_pos = 0;