inclhack.def (limits_ifndefs): Also apply to sys/limits.h

�
        * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
        * fixinc/fixincl.x: Regenerated.
        * fixinc/inclhack.sh: Regenerated.

From-SVN: r27338
This commit is contained in:
Jeff Law 1999-06-03 17:06:30 -06:00
parent c25e0aea7f
commit 149911d4ea
3 changed files with 4 additions and 2 deletions

View File

@ -1379,7 +1379,7 @@ tSCC zLimits_IfndefsName[] =
* File name selection pattern
*/
tSCC zLimits_IfndefsList[] =
"|limits.h|";
"|limits.h|sys/limits.h|";
/*
* Machine/OS name selection pattern
*/

View File

@ -725,6 +725,7 @@ fix = {
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";

View File

@ -1275,7 +1275,8 @@ struct __file_s;
#
# 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}