This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/23568] gdb/ser-mingw.c: error: 'ERROR_IO_PENDING' was not declared in this scope (MinGW/MSYS)
- From: "sizious at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 24 Aug 2018 03:09:42 +0000
- Subject: [Bug build/23568] gdb/ser-mingw.c: error: 'ERROR_IO_PENDING' was not declared in this scope (MinGW/MSYS)
- Auto-submitted: auto-generated
- References: <bug-23568-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23568
--- Comment #2 from SiZiOUS <sizious at gmail dot com> ---
Comment on attachment 11208
--> https://sourceware.org/bugzilla/attachment.cgi?id=11208
Fix to allow MinGW/MSYS compilation of gdb-7.12.1
--- ser-mingw.c 2017-01-21 13:46:47 +0000
+++ ser-mingw.c.patch 2018-08-24 08:30:27 +0000
@@ -31,6 +31,10 @@
#include "command.h"
+#ifndef ERROR_IO_PENDING
+#include <winerror.h>
+#endif
+
void _initialize_ser_windows (void);
struct ser_windows_state
--
You are receiving this mail because:
You are on the CC list for the bug.