msvc fixes

This commit is contained in:
shweet committed 2025-11-11 19:16:07 -05:00
1 parent 0f5dae7ef8
commit 3f666ab18a
10 files changed
+56 -56

No files matched your search

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