mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 04:24:43 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user