aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/misc.c
diff options
context:
space:
mode:
authorAdam Megacz <adam@xwt.org>2002-03-12 19:06:36 +0000
committerAdam Megacz <megacz@gcc.gnu.org>2002-03-12 19:06:36 +0000
commit916c46b5ab32a7cc6deb435c8f2a9451edd39208 (patch)
treeba69ee2014e9ab9f0759258ec9d82f1ac809d901 /boehm-gc/misc.c
parent089c8f976485ea1a57ca4d6590cea48782c51140 (diff)
downloadgcc-916c46b5ab32a7cc6deb435c8f2a9451edd39208.zip
gcc-916c46b5ab32a7cc6deb435c8f2a9451edd39208.tar.gz
gcc-916c46b5ab32a7cc6deb435c8f2a9451edd39208.tar.bz2
dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.
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. From-SVN: r50671
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 079a037..a89f0440 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