Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-08-26 08:33:46 +0400
committerChristopher Faylor <me@cgf.cx>2002-08-26 08:33:46 +0400
commit2e2b268ce6c2cf278e255a8cccaf40cbdfe7b4ec (patch)
tree6c82e7f8fdf01f0ef7a08edac592e64ae34db379 /newlib/configure.host
parent720055740313044a597240a941e26a15459fcadd (diff)
* 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.host6
1 files changed, 1 insertions, 5 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 5220a3563..b6d223795 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: