diff options
author | Pedro Alves <pedro@codesourcery.com> | 2011-10-28 13:32:03 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2011-10-28 13:32:03 +0000 |
commit | 0f626395cb01f49521220550c09e88329e8aeee7 (patch) | |
tree | c62edf2c7118a84910397cf13943196814228d4e /gdb/ser-tcp.c | |
parent | 34f7777e7831c5ca5c148aafe66a70f5dfcb8601 (diff) | |
download | gdb-0f626395cb01f49521220550c09e88329e8aeee7.tar.gz |
2011-10-28 Alen Skondro <askondro@gmail.com>
* ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already
defined.
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r-- | gdb/ser-tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index e3d56405047..4f2dcdd0d25 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -39,7 +39,9 @@ #ifdef USE_WIN32API #include <winsock2.h> +#ifndef ETIMEDOUT #define ETIMEDOUT WSAETIMEDOUT +#endif #define close(fd) closesocket (fd) #define ioctl ioctlsocket #else |