]> git.lyx.org Git - lyx.git/blobdiff - src/support/putenv.C
fix typo that put too many include paths for most people
[lyx.git] / src / support / putenv.C
index d4994099cc119ef0e4e8d5e71e45cc93a8955cb9..a54c0dff3bc8e1d1d630eac4894bfd2dd275ffdd 100644 (file)
@@ -2,18 +2,8 @@
 
 #include <stdlib.h>
 
-#ifdef CXX_WORKING_NAMESPACES
-namespace lyx {
-       int putenv(char const * str)
-       {
-               return ::putenv(const_cast<char*>(str));
-       }
-}
-#else
 #include "lyxlib.h"
 int lyx::putenv(char const * str)
 {
        return ::putenv(const_cast<char*>(str));
 }
-
-#endif