From 30c08fcc6b8b6823b156b1b4b23420b8b2715152 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 30 Nov 1992 23:08:48 +0000 Subject: Test and define _GCC_LIMITS_H_, not _LIMITS_H_. From-SVN: r2822 --- gcc/limitx.h | 6 ++++-- gcc/limity.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'gcc') 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_ */ -- cgit v1.1