🐛 fix compilation error on MSVC
This commit is contained in:
parent
d48c9f44e8
commit
2337994b08
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue