Skip to content

Commit 5335afa

Browse files
Update parser.c
1 parent dbce36b commit 5335afa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

code/logic/parser.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ char *FOSSIL_CLI_TOOL_VERSION = "1.0.0";
4343
#ifdef _WIN32
4444
#include <io.h>
4545
#define isatty _isatty
46+
#ifndef STDOUT_FILENO
4647
#define STDOUT_FILENO _fileno(stdout)
48+
#endif
4749
#else
4850
#include <unistd.h>
4951
#endif

0 commit comments

Comments
 (0)