Windows: static-method-only .c files to .h
This commit is contained in:
parent
7d928a3221
commit
517300e567
@ -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
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user