diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-06-08 20:34:41 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-06-08 20:34:41 +0000 |
commit | a3efda28be4932ec8992974aafbf1987507a6c5f (patch) | |
tree | dc040344b741bdf22706c983d33ef7e70032b594 /gdb/rdi-share/devsw.c | |
parent | c5f10366871d9979dc1ac502c09b9dd32b227488 (diff) | |
download | gdb-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/devsw.c')
-rw-r--r-- | gdb/rdi-share/devsw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rdi-share/devsw.c b/gdb/rdi-share/devsw.c index 6ad0e4d..214b817 100644 --- a/gdb/rdi-share/devsw.c +++ b/gdb/rdi-share/devsw.c @@ -53,7 +53,7 @@ static void openLogFile () /* The following line is equivalent to: */ /* setlinebuf (angelDebugLogFile); */ setvbuf(angelDebugLogFile, (char *)NULL, _IOLBF, 0); -#if defined(__CYGWIN32__) || defined(__CYGWIN__) +#if defined(__CYGWIN__) setmode(fileno(angelDebugLogFile), O_TEXT); #endif } |