]> git.proxmox.com Git - qemu.git/blobdiff - linux-user/syscall.c
Open 2.0 development tree
[qemu.git] / linux-user / syscall.c
index 4a14a43037e95b5a20d66b7a77326ef440a4cfe1..eaaf00ddd002597e90cf291e23c2e66b6d583521 100644 (file)
@@ -4870,10 +4870,10 @@ static inline abi_long host_to_target_stat64(void *cpu_env,
     } else
 #endif
     {
-#if TARGET_ABI_BITS == 64 && !defined(TARGET_ALPHA)
-        struct target_stat *target_st;
-#else
+#if defined(TARGET_HAS_STRUCT_STAT64)
         struct target_stat64 *target_st;
+#else
+        struct target_stat *target_st;
 #endif
 
         if (!lock_user_struct(VERIFY_WRITE, target_st, target_addr, 0))