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:
parent
c25e0aea7f
commit
149911d4ea
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue