On 1/8/26 16:29, Richard Henderson wrote:
The target test is TARGET_I386, not __i386__.

Cc: Warner Losh <[email protected]>
Cc: Kyle Evans <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
---
  bsd-user/syscall_defs.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 52f84d5dd1..68b7860e30 100644
--- a/bsd-user/syscall_defs.h
+++ b/bsd-user/syscall_defs.h
@@ -247,7 +247,7 @@ struct target_freebsd11_stat {
      unsigned int:(8 / 2) * (16 - (int)sizeof(struct target_freebsd_timespec));
  } __packed;
-#if defined(__i386__)
+#if TARGET_I386
  #define TARGET_HAS_STAT_TIME_T_EXT       1
  #endif

Gah. #ifdef.

r~

Reply via email to