again with xm...

This commit is contained in:
2025-11-11 19:19:36 -05:00
parent 3f666ab18a
commit ec45bb4e62
4 changed files with 17 additions and 16 deletions

View File

@@ -9,13 +9,11 @@
#include "string_.h"
#define POPEN _popen
#define PCLOSE _pclose
constexpr auto PWRITE_MODE = "wb";
constexpr auto PREAD_MODE = "r";
constexpr auto PWRITE_MODE = "wb";
#elif __unix__
#define POPEN popen
#define PCLOSE pclose
constexpr auto PWRITE_MODE = "w";
constexpr auto PREAD_MODE = "r";
constexpr auto PWRITE_MODE = "w";
#endif
#include "log.h"