summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-09-30 20:46:40 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:49 +0200
commit61753089e70f0a8dea8de598dc59fa46b17ea957 (patch)
tree9da5f0365fb25f4dfbcde7e898051a8586211b53 /mark_rts.c
parent06ecaefca4cbad82a12caa7c96c9e13393b148c4 (diff)
2009-09-30 Ivan Maidanski <ivmai@mail.ru>
* Makefile.direct: Remove trailing spaces at EOLn. * Makefile.direct: Document GC_REGISTER_MEM_PRIVATE. * mark_rts.c (GC_is_tmp_root): Define also for WinCE unless NO_DEBUGGING (that is, replace _WIN32_WCE_EMULATION with MSWINCE). * os_dep.c (GC_sysinfo): Remove explicit global variable initialization to "{0}" (revert back the previous change) since it might produce a warning.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mark_rts.c b/mark_rts.c
index 1326d39..b0944d6 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -332,8 +332,7 @@ STATIC void GC_remove_roots_inner(ptr_t b, ptr_t e)
}
#endif /* !defined(MSWIN32) && !defined(MSWINCE) */
-#if (defined(MSWIN32) || defined(_WIN32_WCE_EMULATION)) \
- && !defined(NO_DEBUGGING)
+#if (defined(MSWIN32) || defined(MSWINCE)) && !defined(NO_DEBUGGING)
/* Not used at present (except for, may be, debugging purpose). */
/* Workaround for the OS mapping and unmapping behind our back: */
/* Is the address p in one of the temporary static root sections? */
@@ -355,7 +354,7 @@ GC_bool GC_is_tmp_root(ptr_t p)
}
return(FALSE);
}
-#endif /* MSWIN32 || _WIN32_WCE_EMULATION */
+#endif /* MSWIN32 || MSWINCE */
ptr_t GC_approx_sp(void)
{