mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
*** empty log message ***
This commit is contained in:
parent
37ad5297ef
commit
8e88d55b5a
@ -150,6 +150,7 @@ get_ptr() {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
void ExecutionEnvironment::
|
void ExecutionEnvironment::
|
||||||
read_environment_variables() {
|
read_environment_variables() {
|
||||||
|
#ifdef PREREAD_ENVIRONMENT
|
||||||
#if defined(HAVE_PROC_SELF_ENVIRON)
|
#if defined(HAVE_PROC_SELF_ENVIRON)
|
||||||
// In Linux, and possibly in other systems, we might not be able to
|
// 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
|
// use getenv() at static init time. However, we may be lucky and
|
||||||
@ -188,6 +189,7 @@ read_environment_variables() {
|
|||||||
#else
|
#else
|
||||||
cerr << "Warning: environment variables unavailable to dconfig.\n";
|
cerr << "Warning: environment variables unavailable to dconfig.\n";
|
||||||
#endif
|
#endif
|
||||||
|
#endif // PREREAD_ENVIRONMENT
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user