From: Richard Kenner Date: Wed, 26 Apr 1995 22:04:28 +0000 (-0400) Subject: Treat _MACHINE_ANSI_H_ like _ANSI_H_. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b095754a73868960130564eaa065a755bb403311;p=gcc.git Treat _MACHINE_ANSI_H_ like _ANSI_H_. From-SVN: r9490 --- diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index e0cd8b27b18..bbc8f80bf89 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -27,8 +27,9 @@ #endif /* In 4.3bsd-net2, machine/ansi.h defines these symbols, which are - defined if the corresponding type is *not* defined. */ -#ifdef _ANSI_H_ + defined if the corresponding type is *not* defined. + FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_ */ +#if defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) #if !defined(_SIZE_T_) && !defined(_BSD_SIZE_T_) #define _SIZE_T #endif @@ -55,7 +56,7 @@ #undef _WCHAR_T_ #undef _BSD_WCHAR_T_ #endif -#endif /* _ANSI_H_ */ +#endif /* defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) */ /* Sequent's header files use _PTRDIFF_T_ in some conflicting way. Just ignore it. */