VirtualBox

Ignore:
Timestamp:
Mar 9, 2016 8:40:12 AM (9 years ago)
Author:
vboxsync
Message:

Main/HostHardwareLinux: gcc6 warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/HostHardwareLinux.cpp

    r58046 r59960  
    11471147    if (cchRead == 0)
    11481148        return VINF_SUCCESS;
    1149     if (cchRead < 0 && (errno == EAGAIN || errno == EWOULDBLOCK))
     1149    if (   cchRead < 0
     1150        && (   errno == EAGAIN
     1151#if EAGAIN != EWOULDBLOCK
     1152            || errno == EWOULDBLOCK
     1153#endif
     1154            ))
    11501155        return VINF_SUCCESS;
    11511156    Assert(errno > 0);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette