]> git.proxmox.com Git - mirror_qemu.git/blobdiff - cpu.c
bsd-user: Implement mprotect(2)
[mirror_qemu.git] / cpu.c
diff --git a/cpu.c b/cpu.c
index 1c948d1161d2468ab09c142e55fdc8fd805a4ce9..0769b0b1539ca06381cfc39accf4afa34a66184f 100644 (file)
--- a/cpu.c
+++ b/cpu.c
@@ -420,11 +420,7 @@ int cpu_memory_rw_debug(CPUState *cpu, vaddr addr,
 
 bool target_words_bigendian(void)
 {
-#if TARGET_BIG_ENDIAN
-    return true;
-#else
-    return false;
-#endif
+    return TARGET_BIG_ENDIAN;
 }
 
 const char *target_name(void)