]> git.lyx.org Git - lyx.git/blob - src/support/putenv.C
Various fixes look at ChangeLog
[lyx.git] / src / support / putenv.C
1 #include <config.h>
2
3 #include <stdlib.h>
4
5 #ifdef CXX_WORKING_NAMESPACES
6 namespace lyx {
7         int putenv(char const * str)
8         {
9                 return ::putenv(const_cast<char*>(str));
10         }
11 }
12 #else
13 #include "lyxlib.h"
14 int lyx::putenv(char const * str)
15 {
16         return ::putenv(const_cast<char*>(str));
17 }
18
19 #endif