lyx_mirror/src/support/putenv.C

21 lines
383 B
C++
Raw Normal View History

/**
* \file putenv.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#include "lyxlib.h"
#include <cstdlib>
int lyx::support::putenv(char const * str)
{
return ::putenv(const_cast<char*>(str));
}