Define SIZEOF_STRUCT_USTAT for 32bit sparc.

Patch landed on gcc upstream:
27453e962b
Patch by Matthias Klose

llvm-svn: 333644
This commit is contained in:
Sylvestre Ledru 2018-05-31 12:41:15 +00:00
parent 61f0ba1fcc
commit ac804c2238
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ namespace __sanitizer {
|| defined(__x86_64__)
#define SIZEOF_STRUCT_USTAT 32
#elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
|| defined(__powerpc__) || defined(__s390__)
|| defined(__powerpc__) || defined(__s390__) || defined(__sparc__)
#define SIZEOF_STRUCT_USTAT 20
#else
#error Unknown size of struct ustat