mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-05-02 19:00:47 +08:00
🐛 fix compilation error on MSVC
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
#include "natives/subprocess.h"
|
||||
|
||||
// if you ask why, i will say: only MSVC
|
||||
#ifdef _MSC_VER
|
||||
#define popen _popen
|
||||
#define pclose _pclose
|
||||
#endif
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
namespace nasal {
|
||||
|
||||
Reference in New Issue
Block a user