2010-01-21 Kai Tietz <kai.tietz@onevision.com>

* inflow.c (check_syscall): Guard by #if clause for GO32 and
        WIN32 targets.
This commit is contained in:
Kai Tietz 2010-01-21 14:26:12 +00:00
parent 85492558cd
commit e6d088ec31
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-01-21 Kai Tietz <kai.tietz@onevision.com>
* inflow.c (check_syscall): Guard by #if clause for GO32 and
WIN32 targets.
2010-01-20 Tom Tromey <tromey@redhat.com>
PR backtrace/10770:

View File

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