[Bug build/23568] gdb/ser-mingw.c: error: 'ERROR_IO_PENDING' was not declared in this scope (MinGW/MSYS)
sizious at gmail dot com
sourceware-bugzilla@sourceware.org
Fri Aug 24 08:40:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23568
--- Comment #3 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.
More information about the Gdb-prs
mailing list