diff --git a/src/main/envir.c b/src/main/envir.c index b4741eefda2..c97c2b6e0b2 100644 --- a/src/main/envir.c +++ b/src/main/envir.c @@ -3289,7 +3289,7 @@ void R_LockEnvironment(SEXP env, Rboolean bindings) if(SYMVALUE(CAR(s)) != R_UnboundValue) LOCK_BINDING(CAR(s)); } -#ifdef NOT_YET +#ifndef NOT_YET /* causes problems with Matrix */ LOCK_FRAME(env); #endif diff --git a/src/main/main.c b/src/main/main.c index aed315f8635..6895d7b8f4b 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -961,7 +961,7 @@ void setup_Rmainloop(void) R_LoadProfile(R_OpenSysInitFile(), baseEnv); /* These are the same bindings, so only lock them once */ R_LockEnvironment(R_BaseNamespace, TRUE); -#ifdef NOTYET +#ifndef NOTYET /* methods package needs to trample here */ R_LockEnvironment(R_BaseEnv, TRUE); #endif