mirror of
https://github.com/mirror/make.git
synced 2025-02-12 04:40:10 +08:00
* src/w32/compat/posixfcn.c (ttyname): Avoid const char*
This commit is contained in:
parent
b686980c66
commit
ee366afbf1
@ -147,5 +147,6 @@ ttyname (int fd UNUSED)
|
||||
sophisticated implementation should test whether FD is open for
|
||||
input or output. We can do that by looking at the mode returned
|
||||
by GetConsoleMode. */
|
||||
return "CONOUT$";
|
||||
static char name[] = "CONOUT$";
|
||||
return name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user