cttyhack: make it survive WERROR build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
430ba79c39
commit
17662801ec
@ -58,7 +58,7 @@
|
||||
//usage: "\nStarting interactive shell from boot shell script:"
|
||||
//usage: "\n setsid cttyhack sh"
|
||||
|
||||
#if !defined(__linux__) && !defined(TIOCGSERIAL)
|
||||
#if !defined(__linux__) && !defined(TIOCGSERIAL) && !ENABLE_WERROR
|
||||
# warning cttyhack will not be able to detect a controlling tty on this system
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user