2010-10-08 Ralf Corsépius * configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags. Index: configure.host =================================================================== RCS file: /cvs/src/src/newlib/configure.host,v retrieving revision 1.115 diff -u -r1.115 configure.host --- configure.host 23 Jul 2010 18:11:26 -0000 1.115 +++ configure.host 8 Oct 2010 15:19:25 -0000 @@ -551,6 +551,7 @@ *-*-rtems*) default_newlib_io_long_long="yes" default_newlib_io_c99_formats="yes" + newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB" newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC" # turn off unsupported items in posix directory newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN"