* fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
* fixinc/fixincl.x: Regenerated.
* fixinc/inclhack.sh: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27338
138bc75d-0d04-0410-961f-
82ee72b054a4
* File name selection pattern
*/
tSCC zLimits_IfndefsList[] =
- "|limits.h|";
+ "|limits.h|sys/limits.h|";
/*
* Machine/OS name selection pattern
*/
fix = {
hackname = limits_ifndefs;
files = "limits.h";
+ files = "sys/limits.h";
bypass = "ifndef[ \t]+FLT_MIN";
sed = "/[ \t]FLT_MIN[ \t]/i\\\n#ifndef FLT_MIN\n";
#
# Fix 40: Limits_Ifndefs
#
- case "${file}" in ./limits.h )
+ case "${file}" in ./limits.h | \
+ ./sys/limits.h )
if ( test -z "`egrep 'ifndef[ ]+FLT_MIN' ${file}`"
) > /dev/null 2>&1 ; then
fixlist="${fixlist}