mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +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_spare2); */
|
||||||
H2T(buf.st_ctime);
|
H2T(buf.st_ctime);
|
||||||
/* H2T(buf.st_spare3); */
|
/* H2T(buf.st_spare3); */
|
||||||
#ifdef AC_STRUCT_ST_RDEV
|
#ifdef HAVE_STRUCT_STAT_ST_RDEV
|
||||||
H2T(buf.st_rdev);
|
H2T(buf.st_rdev);
|
||||||
#endif
|
#endif
|
||||||
#ifdef AC_STRUCT_ST_BLKSIZE
|
#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
|
||||||
H2T(buf.st_blksize);
|
H2T(buf.st_blksize);
|
||||||
#endif
|
#endif
|
||||||
#ifdef AC_STRUCT_ST_BLOCKS
|
#ifdef HAVE_STRUCT_STAT_ST_BLOCKS
|
||||||
H2T(buf.st_blocks);
|
H2T(buf.st_blocks);
|
||||||
#endif
|
#endif
|
||||||
#if WITH_NetBSD_HOST
|
#if WITH_NetBSD_HOST
|
||||||
|
|||||||
Reference in New Issue
Block a user