summaryrefslogtreecommitdiff
path: root/pthread_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_support.c')
-rw-r--r--pthread_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_support.c b/pthread_support.c
index 071e27c0..fb8db26b 100644
--- a/pthread_support.c
+++ b/pthread_support.c
@@ -1149,7 +1149,7 @@ static void fork_child_proc(void)
{
if (!EXPECT(GC_is_initialized, TRUE)) GC_init();
# if defined(GC_DARWIN_THREADS) && defined(MPROTECT_VDB)
- if (GC_incremental) {
+ if (GC_auto_incremental) {
GC_ASSERT(0 == GC_handle_fork);
ABORT("Unable to fork while mprotect_thread is running");
}