cttyhack: make it survive WERROR build

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
1_18_stable
Denys Vlasenko 2010-07-30 17:41:35 +02:00
parent 430ba79c39
commit 17662801ec
1 changed files with 1 additions and 1 deletions

View File

@ -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