diff options
author | Pietro Monteiro <pietro@sociotechnical.xyz> | 2025-07-04 21:44:21 -0400 |
---|---|---|
committer | Pietro Monteiro <pietro@sociotechnical.xyz> | 2025-07-04 21:44:21 -0400 |
commit | eec64e3f6d13ac32c40d421b8926fa6a3741146f (patch) | |
tree | 3b6e52253ed7a163f22f9e1ebec0b9d8b67dd2c5 | |
parent | 3960e5b824a809099db8584fa2d2fa9b0dec2e95 (diff) | |
download | binutils-eec64e3f6d13ac32c40d421b8926fa6a3741146f.zip binutils-eec64e3f6d13ac32c40d421b8926fa6a3741146f.tar.gz binutils-eec64e3f6d13ac32c40d421b8926fa6a3741146f.tar.bz2 |
sim: ppc: use correct macros
AC_STRUCT_ST_* are the names of the autoconf macros, the C
preprocessor macros defined by autoconf/authoeader are
HAVE_STRUCT_STAT_ST_*.
Approved-By: Andrew Burgess <aburgess@redhat.com>
-rw-r--r-- | sim/ppc/emul_netbsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/ppc/emul_netbsd.c b/sim/ppc/emul_netbsd.c index 950f1f4..37e6c08 100644 --- a/sim/ppc/emul_netbsd.c +++ b/sim/ppc/emul_netbsd.c @@ -146,13 +146,13 @@ write_stat(unsigned_word addr, /* H2T(buf.st_spare2); */ H2T(buf.st_ctime); /* H2T(buf.st_spare3); */ -#ifdef AC_STRUCT_ST_RDEV +#ifdef HAVE_STRUCT_STAT_ST_RDEV H2T(buf.st_rdev); #endif -#ifdef AC_STRUCT_ST_BLKSIZE +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE H2T(buf.st_blksize); #endif -#ifdef AC_STRUCT_ST_BLOCKS +#ifdef HAVE_STRUCT_STAT_ST_BLOCKS H2T(buf.st_blocks); #endif #if WITH_NetBSD_HOST |