aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/vhost-user-blk-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/vhost-user-blk-test.c')
-rw-r--r--tests/qtest/vhost-user-blk-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/vhost-user-blk-test.c b/tests/qtest/vhost-user-blk-test.c
index 62e670f..659b505 100644
--- a/tests/qtest/vhost-user-blk-test.c
+++ b/tests/qtest/vhost-user-blk-test.c
@@ -37,7 +37,7 @@ typedef struct QVirtioBlkReq {
uint8_t status;
} QVirtioBlkReq;
-#ifdef HOST_WORDS_BIGENDIAN
+#if HOST_BIG_ENDIAN
static const bool host_is_big_endian = true;
#else
static const bool host_is_big_endian; /* false */