summaryrefslogtreecommitdiff
path: root/gcc/ginclude/stddef.h
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-12-27 22:54:03 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-12-27 22:54:03 +0000
commitf57a5bf54a2583f87170b30737166476420eaa24 (patch)
tree63ec7091e0a1238e94e7a32dbee0d76e0f828b58 /gcc/ginclude/stddef.h
parent7fb445974a7a3674c5f7cf8aa31f2cd998219bd0 (diff)
downloadgcc-f57a5bf54a2583f87170b30737166476420eaa24.tar.gz
[__sequent__]: #undef _PTRDIFF_T_ at beginning, if defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2932 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude/stddef.h')
-rw-r--r--gcc/ginclude/stddef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
index 4601547fcc2..65084f4764d 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