summaryrefslogtreecommitdiff
path: root/gcc/limitx.h
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/limitx.h
parent5153d9d693cf55f66212390278efe0dc73b772c2 (diff)
downloadgcc-30c08fcc6b8b6823b156b1b4b23420b8b2715152.tar.gz
Test and define _GCC_LIMITS_H_, not _LIMITS_H_.
From-SVN: r2822
Diffstat (limited to 'gcc/limitx.h')
-rw-r--r--gcc/limitx.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/limitx.h b/gcc/limitx.h
index 4b927b9a007..4e383bcb1f0 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. */