Allow use of mingw native on Windows 95 OS.
authorPierre Muller <muller@sourceware.org>
Mon, 21 Feb 2011 11:47:12 +0000 (11:47 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 21 Feb 2011 11:47:12 +0000 (11:47 +0000)
commit4af53f973a65f675b7b084b174e9cdfa1c5265e1
tree5baffb9345806db2fba45e7acb06799d1d72d1e6
parent91033e3716b2eccc227992cde676198949941edf
Allow use of mingw native on Windows 95 OS.
* src/gdb/ser-mingw.c (CancelIo): New macro for dynamically loaded
DLL entry.
(ser_windows_close): Only call CancelIo if function exists.
(_initialize_ser_windows): Use LoadLirary/GetProcAddress
to check for existence of CancelIo function in kernel32 DLL.
gdb/ChangeLog
gdb/ser-mingw.c