Test and define _GCC_LIMITS_H_, not _LIMITS_H_.

From-SVN: r2822
This commit is contained in:
Richard Stallman 1992-11-30 23:08:48 +00:00
parent 5153d9d693
commit 30c08fcc6b
2 changed files with 5 additions and 3 deletions

View File

@ -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. */

View File

@ -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_ */