From 8e88d55b5a551f7f405184fa9d549e9a533ac5a2 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 18 Oct 2000 21:47:08 +0000 Subject: [PATCH] *** empty log message *** --- dtool/src/dtoolutil/executionEnvironment.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dtool/src/dtoolutil/executionEnvironment.cxx b/dtool/src/dtoolutil/executionEnvironment.cxx index fc14e6eb05..4a19694343 100644 --- a/dtool/src/dtoolutil/executionEnvironment.cxx +++ b/dtool/src/dtoolutil/executionEnvironment.cxx @@ -150,6 +150,7 @@ get_ptr() { //////////////////////////////////////////////////////////////////// void ExecutionEnvironment:: read_environment_variables() { +#ifdef PREREAD_ENVIRONMENT #if defined(HAVE_PROC_SELF_ENVIRON) // In Linux, and possibly in other systems, we might not be able to // use getenv() at static init time. However, we may be lucky and @@ -188,6 +189,7 @@ read_environment_variables() { #else cerr << "Warning: environment variables unavailable to dconfig.\n"; #endif +#endif // PREREAD_ENVIRONMENT } ////////////////////////////////////////////////////////////////////