summaryrefslogtreecommitdiff
path: root/gcc/ginclude/stddef.h
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1993-09-20 19:24:39 +0000
committerDoug Evans <dje@gnu.org>1993-09-20 19:24:39 +0000
commitda38c875b452e8df60f3e406c060cee9f87c3419 (patch)
treeaa5036d80f0ead036f76f5c52f929183403bcc14 /gcc/ginclude/stddef.h
parent9cf8d5481b7dc75b18f0375dc2c1f79295214b84 (diff)
downloadgcc-da38c875b452e8df60f3e406c060cee9f87c3419.tar.gz
gstddef.h: Back out change of Sep 15 (handles Sun lossage).
Prevented bootstrapping. From-SVN: r5372
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)