1
0
Fork 0
forked from fun/fun

Windows MSVC compile fix. (0.26.5)

This commit is contained in:
Johannes Findeisen 2025-10-09 01:15:35 +02:00
commit 323ea523e1
2 changed files with 9 additions and 1 deletions

View file

@ -9,6 +9,14 @@
* Added: 2025-10-02
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#define popen _popen
#define pclose _pclose
#endif
case OP_PROC_RUN: {
/* Pops command string; pushes map {"out": string, "code": int} */
Value cmdv = pop_value(vm);