mirror of
https://github.com/ziglang/zig.git
synced 2025-12-19 04:33:09 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
10 lines
273 B
C
10 lines
273 B
C
#define __SYSCALL_LL_E(x) \
|
|
((union { long long ll; long l[2]; }){ .ll = x }).l[0], \
|
|
((union { long long ll; long l[2]; }){ .ll = x }).l[1]
|
|
#define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
|
|
|
|
#undef SYSCALL_NO_INLINE
|
|
#define SYSCALL_NO_INLINE
|
|
|
|
#define SYSCALL_FADVISE_6_ARG
|