aboutsummaryrefslogtreecommitdiff
path: root/gdb/rdi-share/unixcomm.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-08 20:34:41 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-08 20:34:41 +0000
commita3efda28be4932ec8992974aafbf1987507a6c5f (patch)
treedc040344b741bdf22706c983d33ef7e70032b594 /gdb/rdi-share/unixcomm.c
parentc5f10366871d9979dc1ac502c09b9dd32b227488 (diff)
downloadgdb-a3efda28be4932ec8992974aafbf1987507a6c5f.zip
gdb-a3efda28be4932ec8992974aafbf1987507a6c5f.tar.gz
gdb-a3efda28be4932ec8992974aafbf1987507a6c5f.tar.bz2
* sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__.
* rdi-share/serpardr.c: Ditto. * rdi-share/unixcomm.c: Ditto. * rdi-share/serdrv.c: Ditto. * rdi-share/hostchan.h: Ditto. * rdi-share/hostchan.c: Ditto. * rdi-share/host.h: Ditto. * rdi-share/devsw.c: Ditto.
Diffstat (limited to 'gdb/rdi-share/unixcomm.c')
-rw-r--r--gdb/rdi-share/unixcomm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rdi-share/unixcomm.c b/gdb/rdi-share/unixcomm.c
index 0abd411..2204d6d 100644
--- a/gdb/rdi-share/unixcomm.c
+++ b/gdb/rdi-share/unixcomm.c
@@ -96,7 +96,7 @@
#define PARPORT2 "/dev/par1"
#endif
-#if defined(_WIN32) || defined (__CYGWIN32__)
+#if defined(_WIN32) || defined (__CYGWIN__)
#define SERIAL_PREFIX "com"
#define SERPORT1 "com1"
#define SERPORT2 "com2"
@@ -248,7 +248,7 @@ extern int Unix_IsSerialInUse(void)
extern int Unix_OpenSerial(const char *name)
{
-#if defined(BSD) || defined(__CYGWIN32__)
+#if defined(BSD) || defined(__CYGWIN__)
serpfd = open(name, O_RDWR);
#else
serpfd = open(name, O_RDWR | O_NONBLOCK);