aboutsummaryrefslogtreecommitdiff
path: root/gdb/rdi-share/devsw.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rdi-share/devsw.c')
-rw-r--r--gdb/rdi-share/devsw.c2
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
}