aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-e7000.c
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2001-04-05 02:02:13 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2001-04-05 02:02:13 +0000
commit608506ed674285b7c6dc61e0bdbe9e8c473c0e7b (patch)
tree64eb0219903753785c412eae6f6141e68486f465 /gdb/remote-e7000.c
parent6457bd476178a8cac32638d2e5d6cf0977a88e69 (diff)
downloadgdb-608506ed674285b7c6dc61e0bdbe9e8c473c0e7b.zip
gdb-608506ed674285b7c6dc61e0bdbe9e8c473c0e7b.tar.gz
gdb-608506ed674285b7c6dc61e0bdbe9e8c473c0e7b.tar.bz2
* main.c: Remove windows.h use.
(gdbtk_test): Use PATH_MAX for home var calculation. * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as Win32 in test. * ser-tcp.c: Use modern __CYGWIN__ conditional. * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test. (openp): Ditto. * symfile.c (symfile_bfd_open): Ditto. * gdbtk/generic/gdbtk.c: Ditto.
Diffstat (limited to 'gdb/remote-e7000.c')
-rw-r--r--gdb/remote-e7000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c
index 46fb54b..10a329a 100644
--- a/gdb/remote-e7000.c
+++ b/gdb/remote-e7000.c
@@ -543,7 +543,7 @@ or \t\ttarget e7000 tcp_remote <host>[:<port>]\n\
or \t\ttarget e7000 pc\n");
}
-#if !defined(__GO32__) && !defined(_WIN32)
+#if !defined(__GO32__) && !defined(_WIN32) && !defined(__CYGWIN__)
/* FIXME! test for ':' is ambiguous */
if (n == 1 && strchr (dev_name, ':') == 0)
{