hw/tpci200: Fix compiler warning (redefined symbol with MinGW)
authorStefan Weil <sw@weilnetz.de>
Mon, 21 Jan 2013 06:49:51 +0000 (07:49 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 21 Jan 2013 10:39:15 +0000 (11:39 +0100)
commit09a021fb7ceb7255ab106999d7b38ffd92c3bdd6
tree4381018921ea817bafca4fa8fe7691634de95b60
parentacf15c8949f125a4d4f958a5134f8eeece1f99f5
hw/tpci200: Fix compiler warning (redefined symbol with MinGW)

STATUS_TIMEOUT is defined in winnt.h:

  CC    hw/tpci200.o
hw/tpci200.c:34:0:
 warning: "STATUS_TIMEOUT" redefined [enabled by default]
/usr/lib/gcc/x86_64-w64-mingw32/4.6/../../../../x86_64-w64-mingw32/include/winnt.h:1036:0:
 note: this is the location of the previous definition

Use STATUS_TIME instead of STATUS_TIMEOUT as suggested by Alberto Garcia.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/tpci200.c