summaryrefslogtreecommitdiff
path: root/os_dep.c
diff options
context:
space:
mode:
authorivmai <ivmai>2011-04-09 13:47:01 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:57 +0200
commit3d088080ba7330addad9069577fcf646c5c4c809 (patch)
tree4b43396281145f19f0a9d6eb769e34080cafc5b5 /os_dep.c
parentd0d1d875e73eddbe65d30fccf7bb8cdffd6b83f2 (diff)
2011-04-09 Ivan Maidanski <ivmai@mail.ru>
* os_dep.c (GC_unix_sbrk_get_mem, GC_unix_get_mem): Don't define for RTEMS. * include/private/gcconfig.h (RTEMS): Add support for. * include/private/gcconfig.h (GET_MEM): Use calloc() for RTEMS.
Diffstat (limited to 'os_dep.c')
-rw-r--r--os_dep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os_dep.c b/os_dep.c
index 3bb778c..9fa42a5 100644
--- a/os_dep.c
+++ b/os_dep.c
@@ -2010,7 +2010,7 @@ void GC_register_data_segments(void)
# if !defined(OS2) && !defined(PCR) && !defined(AMIGA) && !defined(MSWIN32) \
&& !defined(MSWINCE) && !defined(MACOS) && !defined(DOS4GW) \
- && !defined(NONSTOP) && !defined(SN_TARGET_PS3)
+ && !defined(NONSTOP) && !defined(SN_TARGET_PS3) && !defined(RTEMS)
# define SBRK_ARG_T ptrdiff_t