Fix compilation on Windows due to lack of setenvt(). #2973
This commit is contained in:
parent
c65c9d876e
commit
9ac4fc9034
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
||||||
#include "Config.hpp"
|
#include "Config.hpp"
|
||||||
#include <stdlib.h> // for setenv()
|
#include <stdlib.h> // for setenv()
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define setenv(k, v, o) _putenv_s(k, v)
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Slic3r {
|
namespace Slic3r {
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
Loading…
Add table
Reference in a new issue