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
This commit is contained in:
Joseph Myers 2005-11-15 01:21:29 +00:00 committed by Joseph Myers
parent f2025db263
commit 3bea02d1f4
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-11-15 Joseph S. Myers <joseph@codesourcery.com>
* crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and
vfork after including auto-host.h.
2005-11-15 Alan Modra <amodra@bigpond.net.au>
PR rtl-optimization/22002

View file

@ -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"