This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] build powerpc sim for mingw host
- From: Daniel Jacobowitz <drow at false dot org>
- To: Dave Murphy <davem at devkitpro dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 13 Feb 2008 19:41:50 -0500
- Subject: Re: [PATCH] build powerpc sim for mingw host
- References: <47ACE034.6020802@devkitpro.org>
On Fri, Feb 08, 2008 at 11:05:24PM +0000, Dave Murphy wrote:
> -#ifdef __CYGWIN32__
> +#ifdef __WIN32__
> if ((file->size) && ((nr = read(fd, file->buffer, file->size)) <= 0)) {
> #else
> if ((nr = read(fd, file->buffer, file->size)) < file->size) {
What the heck does this accomplish, anyway? For either Cygwin or mingw32.
--
Daniel Jacobowitz
CodeSourcery