summaryrefslogtreecommitdiff
path: root/boehm-gc/misc.c
diff options
context:
space:
mode:
authormegacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-12 19:06:36 +0000
committermegacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-12 19:06:36 +0000
commit2da4cb5f26a0b54af5f0d6eb4b33e2e91ad5f4aa (patch)
treeba69ee2014e9ab9f0759258ec9d82f1ac809d901 /boehm-gc/misc.c
parent9f58be3ba2024b27d4658930792b224406fb59f2 (diff)
downloadgcc-2da4cb5f26a0b54af5f0d6eb4b33e2e91ad5f4aa.tar.gz
2002-03-12 Adam Megacz <adam@xwt.org>
* dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls. * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and statically initialized it to TRUE if compiling with GCC. * win32_threads.c (thread_start): We no longer use SEH if compiling with GCC. * mark.c (GC_mark_some): We no longer use SEH if compiling with GCC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50671 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/misc.c')
-rw-r--r--boehm-gc/misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/boehm-gc/misc.c b/boehm-gc/misc.c
index 079a037a4ae..a89f04407b4 100644
--- a/boehm-gc/misc.c
+++ b/boehm-gc/misc.c
@@ -483,9 +483,9 @@ int sig;
#endif
#ifdef MSWIN32
- extern GC_bool GC_is_win32s();
+extern GC_bool GC_no_win32_dlls;
#else
-# define GC_is_win32s() FALSE
+# define GC_no_win32_dlls FALSE
#endif
void GC_init_inner()
@@ -637,7 +637,7 @@ void GC_init_inner()
GC_pcr_install();
# endif
# if !defined(SMALL_CONFIG)
- if (!GC_is_win32s() && 0 != GETENV("GC_ENABLE_INCREMENTAL")) {
+ if (!GC_no_win32_dlls && 0 != GETENV("GC_ENABLE_INCREMENTAL")) {
GC_ASSERT(!GC_incremental);
GC_setpagesize();
# ifndef GC_SOLARIS_THREADS
@@ -681,7 +681,7 @@ void GC_enable_incremental GC_PROTO(())
LOCK();
if (GC_incremental) goto out;
GC_setpagesize();
- if (GC_is_win32s()) goto out;
+ if (GC_no_win32_dlls) goto out;
# ifndef GC_SOLARIS_THREADS
GC_dirty_init();
# endif