mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
mksysinfo: Define _pad128_t and _upad128_t if commented out.
From Rainer Orth. From-SVN: r168800
This commit is contained in:
parent
45e79dfd0a
commit
8610843513
@ -250,6 +250,15 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Solaris 2 needs _u?pad128_t, but its default definition in terms of long
|
||||
# double is commented by -fdump-go-spec.
|
||||
if grep "^// type _pad128_t" gen-sysinfo.go > /dev/null 2>&1; then
|
||||
echo "type _pad128_t struct { _l [4]int32; }" >> ${OUT}
|
||||
fi
|
||||
if grep "^// type _upad128_t" gen-sysinfo.go > /dev/null 2>&1; then
|
||||
echo "type _upad128_t struct { _l [4]uint32; }" >> ${OUT}
|
||||
fi
|
||||
|
||||
# The time structures need special handling: we need to name the
|
||||
# types, so that we can cast integers to the right types when
|
||||
# assigning to the structures.
|
||||
|
Loading…
Reference in New Issue
Block a user