Index: Source/Base/Base/OSGBaseFunctions.inl
===================================================================
--- Source/Base/Base/OSGBaseFunctions.inl	(revision 2909)
+++ Source/Base/Base/OSGBaseFunctions.inl	(revision 2910)
@@ -2697,9 +2697,8 @@
 inline
 Char8 *getenv(const Char8 *string)
 {
-    return NULL;
+    return ::getenv(string);
 }
-#else
 #endif
 
 /*! Pause program execution for the given number of milliseconds.
