mirror of
https://github.com/ziglang/zig.git
synced 2026-02-10 19:41:16 +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
7 lines
95 B
C
Vendored
7 lines
95 B
C
Vendored
#include <stdlib.h>
|
|
|
|
ldiv_t ldiv(long num, long den)
|
|
{
|
|
return (ldiv_t){ num/den, num%den };
|
|
}
|