From 8e7ebaf5c67a872bc43a484528712847a62e4bf2 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 28 Oct 2011 13:32:05 +0000 Subject: 2011-10-28 Alen Skondro * ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already defined. --- gdb/ser-tcp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/ser-tcp.c') diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index e3d5640..4f2dcdd 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -39,7 +39,9 @@ #ifdef USE_WIN32API #include +#ifndef ETIMEDOUT #define ETIMEDOUT WSAETIMEDOUT +#endif #define close(fd) closesocket (fd) #define ioctl ioctlsocket #else -- cgit v1.1