crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and vfork after including...
authorJoseph Myers <joseph@codesourcery.com>
Tue, 15 Nov 2005 01:21:29 +0000 (01:21 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 15 Nov 2005 01:21:29 +0000 (01:21 +0000)
* crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and
vfork after including auto-host.h.

From-SVN: r106924

gcc/ChangeLog
gcc/crtstuff.c

index 188d5095c0388c52b8047cab0e15373b80f6828b..b50e7a5d4bb2e263b08684440659bedc7a617503 100644 (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
index d969ee9160e9624610007d705dd7f729a6ce8d40..cde7557313237893f8f9f79aaf4246af58c78e30 100644 (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"