aboutsummaryrefslogtreecommitdiff
path: root/gdb/inflow.c
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-01-21 14:26:12 +0000
committerKai Tietz <kai.tietz@onevision.com>2010-01-21 14:26:12 +0000
commite6d088ec316f9980416fd7bd541229c4321a17f6 (patch)
tree1f86ccb4df0b07263ebfafe3df74f73af5398df2 /gdb/inflow.c
parent85492558cd94f608ec69c8b3f65e52a8ace301ae (diff)
downloadgdb-e6d088ec316f9980416fd7bd541229c4321a17f6.zip
gdb-e6d088ec316f9980416fd7bd541229c4321a17f6.tar.gz
gdb-e6d088ec316f9980416fd7bd541229c4321a17f6.tar.bz2
2010-01-21 Kai Tietz <kai.tietz@onevision.com>
* inflow.c (check_syscall): Guard by #if clause for GO32 and WIN32 targets.
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r--gdb/inflow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c
index 5c9f7ac..cef36ea 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -633,7 +633,7 @@ new_tty_prefork (const char *ttyname)
inferior_thisrun_terminal = ttyname;
}
-
+#if !defined(__GO32__) && !defined(_WIN32)
/* If RESULT, assumed to be the return value from a system call, is
negative, print the error message indicated by errno and exit.
MSG should identify the operation that failed. */
@@ -646,6 +646,7 @@ check_syscall (const char *msg, int result)
_exit (1);
}
}
+#endif
void
new_tty (void)