mirror of
https://github.com/ziglang/zig.git
synced 2025-12-22 22:23:10 +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
8 lines
93 B
C
8 lines
93 B
C
#include <strings.h>
|
|
#include "atomic.h"
|
|
|
|
int ffsl(long i)
|
|
{
|
|
return i ? a_ctz_l(i)+1 : 0;
|
|
}
|