projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c047bb3
)
[__sequent__]: #undef _PTRDIFF_T_ at beginning, if defined.
author
Richard Stallman
<rms@gnu.org>
Sun, 27 Dec 1992 22:54:03 +0000
(22:54 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 27 Dec 1992 22:54:03 +0000
(22:54 +0000)
From-SVN: r2932
gcc/ginclude/stddef.h
patch
|
blob
|
history
diff --git
a/gcc/ginclude/stddef.h
b/gcc/ginclude/stddef.h
index 4601547fcc2ecf7dfae35f8131505d39e24c7196..65084f4764df3e8943a49d8406e8b31dd171b0fc 100644
(file)
--- 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