Allow cross-compilation from mingw-w64 using libusb/libusbx 1.0.18

This commit is contained in:
Lucien Judert
2014-01-27 23:30:45 +01:00
committed by Philippe Teuwen
parent c2504e0825
commit 5f71a79b56
8 changed files with 57 additions and 66 deletions

View File

@@ -113,7 +113,7 @@ uart_close(const serial_port sp)
}
void
uart_flush_input(const serial_port sp)
uart_flush_input(const serial_port sp, bool wait)
{
PurgeComm(((struct serial_port_windows *) sp)->hPort, PURGE_RXABORT | PURGE_RXCLEAR);
}

View File

@@ -34,6 +34,7 @@
#define __WINDOWS_H__
# include <windows.h>
# undef interface
# include <winerror.h>
# include "win32/err.h"
# if defined (__MINGW32__)