mirror of
https://github.com/ziglang/zig.git
synced 2025-12-22 06:03: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
10 lines
146 B
C
10 lines
146 B
C
#include <fenv.h>
|
|
|
|
int feupdateenv(const fenv_t *envp)
|
|
{
|
|
int ex = fetestexcept(FE_ALL_EXCEPT);
|
|
fesetenv(envp);
|
|
feraiseexcept(ex);
|
|
return 0;
|
|
}
|