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)
|
#elif defined(_WIN32) || defined(_WIN64)
|
||||||
#define HAS_SH 1
|
#define HAS_SH 1
|
||||||
#include "../windows/winError.c"
|
#include "../windows/winError.h"
|
||||||
#include "../windows/utf16.c"
|
#include "../windows/utf16.h"
|
||||||
#include "../windows/sh.c"
|
#include "../windows/sh.h"
|
||||||
|
|
||||||
static i32 sh_core(bool raw, B x, usz xia, B inObj, u64 iLen, B* s_outp, B* s_errp) {
|
static i32 sh_core(bool raw, B x, usz xia, B inObj, u64 iLen, B* s_outp, B* s_errp) {
|
||||||
// allocate args
|
// allocate args
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
#include "../windows/utf16.c"
|
#include "../windows/utf16.h"
|
||||||
// use wide char functions for unicode support / longer paths (potentially)
|
// use wide char functions for unicode support / longer paths (potentially)
|
||||||
#include "../windows/realpath.c"
|
#include "../windows/realpath.c"
|
||||||
#endif
|
#endif
|
||||||
@ -297,7 +297,7 @@ B path_list(B path) {
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#else
|
#else
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "../windows/winError.c"
|
#include "../windows/winError.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct MmapHolder {
|
typedef struct MmapHolder {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user