[git commit master 1/1] cttyhack: make it survive WERROR build
Denys Vlasenko
vda.linux at googlemail.com
Fri Jul 30 15:41:35 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=17662801ece60bbcc45bbc3cb1fc0fc3070d0d23
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
shell/cttyhack.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/shell/cttyhack.c b/shell/cttyhack.c
index 3a78bae..7a5e1ff 100644
--- a/shell/cttyhack.c
+++ b/shell/cttyhack.c
@@ -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
--
1.7.1
More information about the busybox-cvs
mailing list