diff options
author | Richard Stallman <rms@gnu.org> | 1992-12-27 22:54:03 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-12-27 22:54:03 +0000 |
commit | 6d68f08ee45f495379d18b76dc1d23290ea9c3e3 (patch) | |
tree | 63ec7091e0a1238e94e7a32dbee0d76e0f828b58 | |
parent | c047bb3f221e616b8dad7268bd67b7eaae35a783 (diff) | |
download | gcc-6d68f08ee45f495379d18b76dc1d23290ea9c3e3.zip gcc-6d68f08ee45f495379d18b76dc1d23290ea9c3e3.tar.gz gcc-6d68f08ee45f495379d18b76dc1d23290ea9c3e3.tar.bz2 |
[__sequent__]: #undef _PTRDIFF_T_ at beginning, if defined.
From-SVN: r2932
-rw-r--r-- | gcc/ginclude/stddef.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index 4601547..65084f4 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -42,6 +42,12 @@ #endif #endif /* _ANSI_H_ */ +/* Sequent's header files use _PTRDIFF_T_ in some conflicting way. + Just ignore it. */ +#if defined (__sequent__) && defined (_PTRDIFF_T_) +#undef _PTRDIFF_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 |