aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/virtio-blk-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/virtio-blk-test.c')
-rw-r--r--tests/qtest/virtio-blk-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/virtio-blk-test.c b/tests/qtest/virtio-blk-test.c
index 2a23698211..f22594a1a8 100644
--- a/tests/qtest/virtio-blk-test.c
+++ b/tests/qtest/virtio-blk-test.c
@@ -33,7 +33,7 @@ typedef struct QVirtioBlkReq {
} QVirtioBlkReq;
-#ifdef HOST_WORDS_BIGENDIAN
+#if HOST_BIG_ENDIAN
const bool host_is_big_endian = true;
#else
const bool host_is_big_endian; /* false */