forked from qt-creator/qt-creator
debugger: compile fix for windows
This commit is contained in:
@@ -82,7 +82,7 @@ BOOL WINAPI TryReadFile(HANDLE hFile,
|
|||||||
{
|
{
|
||||||
COMSTAT comStat;
|
COMSTAT comStat;
|
||||||
if (!ClearCommError(hFile, NULL, &comStat)){
|
if (!ClearCommError(hFile, NULL, &comStat)){
|
||||||
logMessage("ClearCommError() failed");
|
qDebug() << "ClearCommError() failed";
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
if (comStat.cbInQue == 0) {
|
if (comStat.cbInQue == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user