This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Fix crtstuff.c compilation with mingw build.
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: "Steve Ellcey " <sellcey at mips dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 24 Apr 2014 19:27:39 +0200
- Subject: Re: [Patch] Fix crtstuff.c compilation with mingw build.
- Authentication-results: sourceware.org; auth=none
- References: <daed3e62-8ef6-4e1a-8143-00e13dd0860f at BAMAIL02 dot ba dot imgtec dot org>
"Steve Ellcey " <sellcey@mips.com> writes:
> diff --git a/libgcc/crtstuff.c b/libgcc/crtstuff.c
> index 12bed4b..d09455f 100644
> --- a/libgcc/crtstuff.c
> +++ b/libgcc/crtstuff.c
> @@ -54,6 +54,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
> #include "auto-host.h"
> #undef pid_t
> #undef rlim_t
> +#undef caddr_t
> #undef ssize_t
> #undef vfork
> #include "tconfig.h"
It seems the undef's were sorted alphabetically. Please keep it this way.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University