arch-sparc: Rewrite unused array in tgt_stat64 for mac
On Mac (tested on Mac Mini M2 Pro) the src/arch/sparc/linux/linux.hh was uncompilable due to `int64_t __unused[3]` not working with the Mac GLIB's `__unused` definition. This was therefore rewritten. Change-Id: I8094a54ccf8dedb8e63ef05770e48eef7012262c Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/68838 Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Melissa Jost <mkjost@ucdavis.edu>
This commit is contained in:
committed by
Bobby Bruce
parent
8b7e55339a
commit
59ea30913f
@@ -89,7 +89,7 @@ class SparcLinux : public Linux, public OpenFlagTable<SparcLinux>
|
||||
uint64_t st_mtime_nsec;
|
||||
uint64_t st_ctimeX;
|
||||
uint64_t st_ctime_nsec;
|
||||
int64_t __unused[3];
|
||||
int64_t __unused4[3];
|
||||
};
|
||||
|
||||
// SPARC receives weird subsignals for several of its signals. If you
|
||||
|
||||
Reference in New Issue
Block a user