Fix win32 somewhat?

This commit is contained in:
2025-04-16 07:39:30 -05:00
parent c831174e18
commit bf3ae1fa02
6 changed files with 65 additions and 6 deletions

View File

@ -2,7 +2,7 @@
#include "CrossLang.hpp"
#include <iostream>
#if defined(GEKKO) || defined(__SWITCH__)
#if defined(GEKKO) || defined(__SWITCH__) || defined(_WIN32)
#undef CROSSLANG_ENABLE_TERMIOS
#endif

View File

@ -97,7 +97,7 @@ namespace Tesses::CrossLang
int r = subprocess_create_ex(args3,(int)options,env3,subprocess);
if(r != 0)
{
printf("Here2 %i\n",r);
delete[] args3;
delete[] env3;
delete subprocess;
@ -172,4 +172,4 @@ namespace Tesses::CrossLang
env->SetVariable("Process",dict);
gc->BarrierEnd();
}
}
}