aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-11-30 23:08:48 +0000
committerRichard Stallman <rms@gnu.org>1992-11-30 23:08:48 +0000
commit30c08fcc6b8b6823b156b1b4b23420b8b2715152 (patch)
treec9797b763adb1c71b6c01261050a2b800a66225d /gcc
parent5153d9d693cf55f66212390278efe0dc73b772c2 (diff)
downloadgcc-30c08fcc6b8b6823b156b1b4b23420b8b2715152.zip
gcc-30c08fcc6b8b6823b156b1b4b23420b8b2715152.tar.gz
gcc-30c08fcc6b8b6823b156b1b4b23420b8b2715152.tar.bz2
Test and define _GCC_LIMITS_H_, not _LIMITS_H_.
From-SVN: r2822
Diffstat (limited to 'gcc')
-rw-r--r--gcc/limitx.h6
-rw-r--r--gcc/limity.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/limitx.h b/gcc/limitx.h
index 4b927b9..4e383bc 100644
--- a/gcc/limitx.h
+++ b/gcc/limitx.h
@@ -1,8 +1,10 @@
/* This administrivia gets added to the beginning of limits.h
if the system has its own version of limits.h. */
-#ifndef _LIMITS_H_ /* Terminated in limity.h. */
-#define _LIMITS_H_
+/* We use _GCC_LIMITS_H_ because we want this not to match
+ any macros that the system's limits.h uses for its own purposes. */
+#ifndef _GCC_LIMITS_H_ /* Terminated in limity.h. */
+#define _GCC_LIMITS_H_
#ifndef _LIBC_LIMITS_H_
/* Use <...> so that we find syslimits.h only in system include dirs. */
diff --git a/gcc/limity.h b/gcc/limity.h
index 5965713..5492553 100644
--- a/gcc/limity.h
+++ b/gcc/limity.h
@@ -1,4 +1,4 @@
/* This administrivia gets added to the end of limits.h
if the system has its own version of limits.h. */
-#endif /* not _LIMITS_H_ */
+#endif /* not _GCC_LIMITS_H_ */