mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 23:52:31 +00:00
49d1a4c562
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
14 lines
350 B
C
14 lines
350 B
C
#include <stdio.h>
|
|
#include <sect_attribs.h>
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma comment(linker, "/merge:.CRT=.rdata")
|
|
#endif
|
|
|
|
typedef void (__cdecl *_PVFV)(void);
|
|
|
|
_CRTALLOC(".CRT$XIA") _PVFV __xi_a[] = { NULL };
|
|
_CRTALLOC(".CRT$XIZ") _PVFV __xi_z[] = { NULL };
|
|
_CRTALLOC(".CRT$XCA") _PVFV __xc_a[] = { NULL };
|
|
_CRTALLOC(".CRT$XCZ") _PVFV __xc_z[] = { NULL };
|