summaryrefslogtreecommitdiff
path: root/gcc/ginclude/stddef.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1993-09-20 19:24:39 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1993-09-20 19:24:39 +0000
commit087d2183459e7f78154c614a18b9cbf1da9b67bd (patch)
treeaa5036d80f0ead036f76f5c52f929183403bcc14 /gcc/ginclude/stddef.h
parente4f017c114bb29dd02126646b764790c6e2acd74 (diff)
downloadgcc-087d2183459e7f78154c614a18b9cbf1da9b67bd.tar.gz
gstddef.h: Back out change of Sep 15 (handles Sun lossage).
Prevented bootstrapping. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5372 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 5014809b362..160f6342e6e 100644
--- a/gcc/ginclude/stddef.h
+++ b/gcc/ginclude/stddef.h
@@ -13,6 +13,10 @@
#define _ANSI_STDDEF_H
#endif
+#ifndef __sys_stdtypes_h
+/* This avoids lossage on SunOS but only if stdtypes.h comes first.
+ There's no way to win with the other order! Sun lossage. */
+
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
one less case to deal with in the following. */
#if defined (__BSD_NET2__) || defined (____386BSD____)
@@ -199,6 +203,8 @@ typedef __WCHAR_TYPE__ wchar_t;
#endif
#endif /* _ANSI_H_ */
+#endif /* __sys_stdtypes_h */
+
/* A null pointer constant. */
#if defined (_STDDEF_H) || defined (__need_NULL)