mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fix compilation on Windows due to lack of setenvt(). #2973
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#include "Config.hpp"
|
||||
#include <stdlib.h> // for setenv()
|
||||
|
||||
#ifdef _WIN32
|
||||
#define setenv(k, v, o) _putenv_s(k, v)
|
||||
#endif
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user