OSDN Git Service

authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jun 1999 23:06:30 +0000 (23:06 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jun 1999 23:06:30 +0000 (23:06 +0000)
        * 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

gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.def
gcc/fixinc/inclhack.sh

index df186d5..103f5b2 100644 (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
  */
index c3a06ba..51908d8 100644 (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";
index 536b0a3..63f4cf7 100755 (executable)
@@ -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}