Windows: static-method-only .c files to .h

This commit is contained in:
dzaima 2025-01-16 21:41:26 +02:00
parent 7d928a3221
commit 517300e567
5 changed files with 5 additions and 5 deletions

View File

@ -1153,9 +1153,9 @@ static i32 sh_core(bool raw, B x, usz xia, B inObj, u64 iLen, B* s_outp, B* s_er
}
#elif defined(_WIN32) || defined(_WIN64)
#define HAS_SH 1
#include "../windows/winError.c"
#include "../windows/utf16.c"
#include "../windows/sh.c"
#include "../windows/winError.h"
#include "../windows/utf16.h"
#include "../windows/sh.h"
static i32 sh_core(bool raw, B x, usz xia, B inObj, u64 iLen, B* s_outp, B* s_errp) {
// allocate args

View File

@ -8,7 +8,7 @@
#if defined(_WIN32)
#include <direct.h>
#include "../windows/utf16.c"
#include "../windows/utf16.h"
// use wide char functions for unicode support / longer paths (potentially)
#include "../windows/realpath.c"
#endif
@ -297,7 +297,7 @@ B path_list(B path) {
#include <unistd.h>
#else
#include <windows.h>
#include "../windows/winError.c"
#include "../windows/winError.h"
#endif
typedef struct MmapHolder {