summaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-11-15 01:21:29 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2005-11-15 01:21:29 +0000
commit3bea02d1f4bf819ed0d8fbd4014c2344a2332b9b (patch)
treec94843263321e0e608b358205dba786c46ceb0dd /gcc/crtstuff.c
parentf2025db26336923025b2845caff04c0b3d6d90e1 (diff)
downloadgcc-3bea02d1f4bf819ed0d8fbd4014c2344a2332b9b.tar.gz
crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and vfork after including auto-host.h.
* crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and vfork after including auto-host.h. From-SVN: r106924
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r--gcc/crtstuff.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c
index d969ee9160e..cde75573132 100644
--- a/gcc/crtstuff.c
+++ b/gcc/crtstuff.c
@@ -58,6 +58,12 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
identified the set of defines that need to go into auto-target.h,
this will have to do. */
#include "auto-host.h"
+#undef gid_t
+#undef pid_t
+#undef rlim_t
+#undef ssize_t
+#undef uid_t
+#undef vfork
#include "tconfig.h"
#include "tsystem.h"
#include "coretypes.h"