summaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2001-04-05 02:02:14 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2001-04-05 02:02:14 +0000
commit2a40973a4157973188397d65d1438a269fe7cb74 (patch)
treecde289fea546960b8a9652be567fe6aa0bb3ca83 /gdb/ser-tcp.c
parente2515a3df3a130d42e8abab3afa478549a2fb788 (diff)
downloadgdb-2a40973a4157973188397d65d1438a269fe7cb74.tar.gz
* 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/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 7f6b65a5411..d7eb9cbd7df 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -29,7 +29,7 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>
-#ifndef __CYGWIN32__
+#ifndef __CYGWIN__
#include <netinet/tcp.h>
#endif