qemu/include/hw/ide
John Snow 159a9df021 ide: fix enum comparison for gcc 4.7
Apparently GCC gets bent over comparing enum values against zero.
Replace the conditional with something less readable.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20170921013821.1673-1-jsnow@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-09-22 13:23:53 +01:00
..
ahci.h ahci: split public and private interface 2017-07-18 11:47:57 -04:00
internal.h ide: fix enum comparison for gcc 4.7 2017-09-22 13:23:53 +01:00
pci.h Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00