Browse Source

getenv() now works at static init on Linux

David Rose 20 years ago
parent
commit
92c0793706
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/Config.Linux.pp

+ 1 - 1
dtool/Config.Linux.pp

@@ -56,7 +56,7 @@
 #define HAVE_IOS_TYPEDEFS 1
 
 // Can we safely call getenv() at static init time?
-#define STATIC_INIT_GETENV
+#define STATIC_INIT_GETENV 1
 
 // Can we read the file /proc/self/environ to determine our
 // environment variables at static init time?