mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
Add closefrom call to RunProcess
This commit is contained in:
@@ -20,12 +20,6 @@
|
||||
#if _WIN32
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#if __linux__ || __APPLE__
|
||||
extern "C" int rep_closefrom(int lower);
|
||||
#define closefrom rep_closefrom
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#undef min
|
||||
|
||||
Reference in New Issue
Block a user