aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.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/ser-tcp.c
parent6457bd476178a8cac32638d2e5d6cf0977a88e69 (diff)
downloadfsf-binutils-gdb-608506ed674285b7c6dc61e0bdbe9e8c473c0e7b.zip
fsf-binutils-gdb-608506ed674285b7c6dc61e0bdbe9e8c473c0e7b.tar.gz
fsf-binutils-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/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 7f6b65a..d7eb9cb 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