2010-01-21 Kai Tietz <kai.tietz@onevision.com>
authorKai Tietz <kai.tietz@onevision.com>
Thu, 21 Jan 2010 14:26:12 +0000 (14:26 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Thu, 21 Jan 2010 14:26:12 +0000 (14:26 +0000)
        * inflow.c (check_syscall): Guard by #if clause for GO32 and
        WIN32 targets.

gdb/ChangeLog
gdb/inflow.c

index ca5f9d4ecc65db6712626e219ae5a84e4ae94e8a..3787a30f86effcc08fb19e07d831616c43ac18e1 100644 (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:
index 5c9f7ac88cd94395aae30243c725488f7d764b6b..cef36ea0c7b4a6c726d1b3392b36d9a6dfdbabf2 100644 (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)
This page took 0.026427 seconds and 4 git commands to generate.