mksysinfo: Fix Alpha GNU/Linux compatibility patch.

From Uros Bizjak.

From-SVN: r183245
This commit is contained in:
Ian Lance Taylor 2012-01-17 14:13:33 +00:00
parent 67463efbe6
commit eec3e72c11
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ grep '^const _TIOC' gen-sysinfo.go | \
# We need TIOCGWINSZ.
if ! grep '^const TIOCGWINSZ' ${OUT} >/dev/null 2>&1; then
if grep '^const _TIOCGWINSZ_val' ${OUT} >/dev/null 2>&1; then
echo 'const TIOCGWINSZ = TIOCGWINSZ_val' >> ${OUT}
echo 'const TIOCGWINSZ = _TIOCGWINSZ_val' >> ${OUT}
fi
fi