diff options
author | Jim Ingham <jingham@apple.com> | 1999-01-28 03:50:17 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 1999-01-28 03:50:17 +0000 |
commit | c98fe0c11974772749686145f3172dc8c9004909 (patch) | |
tree | b6b38dae1565e217e00060554dd6ea1f5d4cfee6 /gdb/rdi-share/unixcomm.c | |
parent | 988e60c43b3af56544d2181a5e3146a7787cf7bc (diff) | |
download | gdb-c98fe0c11974772749686145f3172dc8c9004909.zip gdb-c98fe0c11974772749686145f3172dc8c9004909.tar.gz gdb-c98fe0c11974772749686145f3172dc8c9004909.tar.bz2 |
This is the merge of the Itcl3.0 gdbtk development branch into the
trunk. To build it, you will have to do update -dP in the itcl
directory, and update tcl, tk, tix and libgui as well.
Diffstat (limited to 'gdb/rdi-share/unixcomm.c')
-rw-r--r-- | gdb/rdi-share/unixcomm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/rdi-share/unixcomm.c b/gdb/rdi-share/unixcomm.c index df8e28f..7c2183d 100644 --- a/gdb/rdi-share/unixcomm.c +++ b/gdb/rdi-share/unixcomm.c @@ -97,7 +97,7 @@ #define SERIAL_PREFIX "/dev/tty" -#if defined(_WIN32) || defined (__CYGWIN__) +#if defined(_WIN32) || defined (__CYGWIN32__) #define SERPORT1 "com1" #define SERPORT2 "com2" #define PARPORT1 "lpt1" @@ -241,7 +241,7 @@ extern int Unix_IsSerialInUse(void) extern int Unix_OpenSerial(const char *name) { -#if defined(BSD) || defined(__CYGWIN__) +#if defined(BSD) || defined(__CYGWIN32__) serpfd = open(name, O_RDWR); #else serpfd = open(name, O_RDWR | O_NONBLOCK); @@ -305,7 +305,7 @@ extern void Unix_ResetSerial(void) struct termios terminfo; tcgetattr(serpfd, &terminfo); -#ifdef __CYGWIN__ +#ifdef __CYGWIN32__ /* Expedient, but it works. */ terminfo.c_iflag = 0; terminfo.c_oflag = 0; |