Commit eec3e72c by Ian Lance Taylor

mksysinfo: Fix Alpha GNU/Linux compatibility patch.

From Uros Bizjak.

From-SVN: r183245
parent 67463efb
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment