tx19 sanitize fixes.
[deliverable/binutils-gdb.git] / gdb / ser-e7kpc.c
index b0976df75cd013a739754ab8bda392d2bc493e51..8cf6ec68a033a0d7e82fafcade6b01185fa85741 100644 (file)
 #ifdef _MSC_VER
 #define strncasecmp strnicmp
 #define WIN32_LEAN_AND_MEAN
+#endif
+
+#ifdef _WIN32
 #include <windows.h>
-#define W32SUT_32
-#include <w32sut.h>
 #endif
 
 #ifdef __GO32__
@@ -44,13 +45,6 @@ static int e7000pc_write PARAMS ((serial_t scb, const char *str, int len));
 static void e7000pc_close PARAMS ((serial_t scb));
 static serial_ttystate e7000pc_get_tty_state PARAMS ((serial_t scb));
 static int e7000pc_set_tty_state PARAMS ((serial_t scb, serial_ttystate state));
-static char *aptr PARAMS ((short p));
-
-static int dos_async_init PARAMS ((int port));
-static void dos_async_tx PARAMS ((const char c));
-static int dos_async_rx PARAMS (());
-
-
 
 #define OFF_DPD        0x0000
 #define OFF_DDP        0x1000
@@ -119,7 +113,7 @@ static struct sw
   {0x17, 0xdc000},
   0};
 
-#ifndef __GO32__
+#ifdef _MSC_VER
 /* Get the base of the data segment.  This is needed to calculate the offset
    between data segment addresses and the base of linear memory, which is where
    device registers reside.  Note that this is really only necessary for
@@ -146,9 +140,9 @@ get_ds_base (void)
 
   return dsbase;
 }
-#else /* !__GO32__ */
+#else /* !_MSC_VER */
 #define get_ds_base() 0
-#endif /* __GO32__ */ 
+#endif /* _MSC_VER */ 
 
 static int
 e7000pc_init ()
This page took 0.030185 seconds and 4 git commands to generate.