diff options
author | Richard Stallman <rms@gnu.org> | 1992-10-01 06:11:57 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-10-01 06:11:57 +0000 |
commit | 09dafdadf00eb5a4dc940788316b22558e71d29a (patch) | |
tree | 2e15f1d1320ccb44bca3cc65bca8a3bac1c340e6 /gcc | |
parent | 0132d1ca0f077c527bef759f51d9802d67e6ee7e (diff) | |
download | gcc-09dafdadf00eb5a4dc940788316b22558e71d29a.zip gcc-09dafdadf00eb5a4dc940788316b22558e71d29a.tar.gz gcc-09dafdadf00eb5a4dc940788316b22558e71d29a.tar.bz2 |
If _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T.
From-SVN: r2291
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ginclude/stddef.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index 1886873..f2e62de 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -14,6 +14,14 @@ /* This avoids lossage on SunOS but only if stdtypes.h comes first. There's no way to win with the other order! Sun lossage. */ +/* In 4.3bsd-net2, machine/ansi.h defines these symbols for some other + purpose. Undef them to prevent them from confusing this file. */ +#ifdef _ANSI_H_ +#undef _PTRDIFF_T_ +#undef _SIZE_T_ +#undef _WCHAR_T_ +#endif + /* In case nobody has defined these types, but we aren't running under GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE__TYPE__, and __WCHAR_TYPE__ have reasonable values. This can happen if the |