mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +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
91 B
C
Vendored
7 lines
91 B
C
Vendored
#include <strings.h>
|
|
#include "atomic.h"
|
|
|
|
int ffs(int i)
|
|
{
|
|
return i ? a_ctz_l(i)+1 : 0;
|
|
}
|