diff options
author | Christopher Faylor <me@cgf.cx> | 2002-08-26 04:33:46 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-08-26 04:33:46 +0000 |
commit | 2e2b268ce6c2cf278e255a8cccaf40cbdfe7b4ec (patch) | |
tree | 6c82e7f8fdf01f0ef7a08edac592e64ae34db379 /newlib/configure.host | |
parent | 720055740313044a597240a941e26a15459fcadd (diff) | |
download | newlib-2e2b268ce6c2cf278e255a8cccaf40cbdfe7b4ec.zip newlib-2e2b268ce6c2cf278e255a8cccaf40cbdfe7b4ec.tar.gz newlib-2e2b268ce6c2cf278e255a8cccaf40cbdfe7b4ec.tar.bz2 |
* libc/include/malloc.h: On cygwin, define malloc _r functions as wrapper
macros to standard malloc functions.
* libc/include/stdlib.h: Ditto.
* configure.host: Always define MALLOC_PROVIDED on cygwin.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 5220a35..b6d2237 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -413,11 +413,7 @@ esac case "${host}" in *-*-cygwin*) - newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -DWANT_IO_LONG_DBL -DWANT_PRINTF_LONG_LONG -D_COMPILING_NEWLIB -DHAVE_FCNTL" -# CYGWIN provides its own malloc if --enable-malloc-debugging is set - if [ "x${malloc_debugging}" = "xyes" ] ; then - newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED" - fi + newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -DWANT_IO_LONG_DBL -DWANT_PRINTF_LONG_LONG -D_COMPILING_NEWLIB -DHAVE_FCNTL -DMALLOC_PROVIDED" syscall_dir=syscalls ;; # RTEMS supplies its own versions of some routines: |