This repository was archived by the owner on Jun 8, 2023. It is now read-only.
Commit e02365e
authored
Avoid error with new clang/flex : implicit declaration of function 'isatty' (#60)
* new clang version gives following error:
```
lex.c:1611:40: error: implicit declaration of function 'isatty' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
```1 parent f8629ba commit e02365e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments