[PATCH] define HAVE_BLKSIZE on Cygwin

Brian Ford Brian.Ford@FlightSafety.com
Sat Jan 6 00:39:00 GMT 2007


2007-01-05  Brian Ford  <Brian.Ford@FlightSafety.com>

	* configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.

to complete this patch:

http://cygwin.com/ml/cygwin-patches/2007-q1/msg00000.html

making this newlib statement actually true:

http://cygwin.com/ml/cygwin-patches/2007-q1/msg00007.html

addressing this issue:

http://cygwin.com/ml/cygwin/2006-12/msg00911.html

Thanks.

-- 
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...

-------------- next part --------------
Index: configure.host
===================================================================
RCS file: /cvs/src/src/newlib/configure.host,v
retrieving revision 1.88
diff -u -p -r1.88 configure.host
--- configure.host	18 Dec 2006 21:49:14 -0000	1.88
+++ configure.host	6 Jan 2007 00:04:03 -0000
@@ -498,7 +498,7 @@ case "${host}" in
 	default_newlib_io_long_double="yes"
 	default_newlib_io_pos_args="yes"
 	CC="${CC} -I${cygwin_srcdir}/include"
-	newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_FCNTL -DMALLOC_PROVIDED"
+	newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_FCNTL -DMALLOC_PROVIDED"
 	syscall_dir=syscalls
 	;;
 # RTEMS supplies its own versions of some routines:


More information about the Newlib mailing list