mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Fix compilation on Windows due to lack of setenvt(). #2973
This commit is contained in:
1 parent
c65c9d876e
commit
9ac4fc9034
1 file changed
+4
@@ -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