summaryrefslogtreecommitdiff
path: root/gcc/limitx.h
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-11-30 23:08:48 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-11-30 23:08:48 +0000
commitc21047db5b02476399e41eac8719ce9841fb1bc7 (patch)
treec9797b763adb1c71b6c01261050a2b800a66225d /gcc/limitx.h
parentd48a8d7b5edfe51b5a0451f35c4114b92e382fdc (diff)
downloadgcc-c21047db5b02476399e41eac8719ce9841fb1bc7.tar.gz
Test and define _GCC_LIMITS_H_, not _LIMITS_H_.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2822 138bc75d-0d04-0410-961f-82ee72b054a4
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. */