Commit 149911d4 by Jeff Law

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
parent c25e0aea
...@@ -1379,7 +1379,7 @@ tSCC zLimits_IfndefsName[] = ...@@ -1379,7 +1379,7 @@ tSCC zLimits_IfndefsName[] =
* File name selection pattern * File name selection pattern
*/ */
tSCC zLimits_IfndefsList[] = tSCC zLimits_IfndefsList[] =
"|limits.h|"; "|limits.h|sys/limits.h|";
/* /*
* Machine/OS name selection pattern * Machine/OS name selection pattern
*/ */
......
...@@ -725,6 +725,7 @@ fix = { ...@@ -725,6 +725,7 @@ fix = {
fix = { fix = {
hackname = limits_ifndefs; hackname = limits_ifndefs;
files = "limits.h"; files = "limits.h";
files = "sys/limits.h";
bypass = "ifndef[ \t]+FLT_MIN"; bypass = "ifndef[ \t]+FLT_MIN";
sed = "/[ \t]FLT_MIN[ \t]/i\\\n#ifndef FLT_MIN\n"; sed = "/[ \t]FLT_MIN[ \t]/i\\\n#ifndef FLT_MIN\n";
......
...@@ -1275,7 +1275,8 @@ struct __file_s; ...@@ -1275,7 +1275,8 @@ struct __file_s;
# #
# Fix 40: Limits_Ifndefs # 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}`" if ( test -z "`egrep 'ifndef[ ]+FLT_MIN' ${file}`"
) > /dev/null 2>&1 ; then ) > /dev/null 2>&1 ; then
fixlist="${fixlist} fixlist="${fixlist}
......
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