summaryrefslogtreecommitdiff
path: root/src/node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.cc')
-rw-r--r--src/node.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node.cc b/src/node.cc
index c3f423cb57..6256795fcc 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -744,6 +744,7 @@ void ResetStdio() {
CHECK_NE(err, -1);
}
+#if !(defined(__APPLE__) && TARGET_OS_IPHONE)
if (s.isatty) {
sigset_t sa;
int err;
@@ -763,6 +764,7 @@ void ResetStdio() {
// tcsetattr will fail with err == -1 and errno == EPERM.
CHECK_IMPLIES(err != 0, err == -1 && errno == EPERM);
}
+#endif
}
#endif // __POSIX__
}