This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/23568] gdb/ser-mingw.c: error: 'ERROR_IO_PENDING' was not declared in this scope (MinGW/MSYS)


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]