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
100 B
C
Vendored
8 lines
100 B
C
Vendored
#include <strings.h>
|
|
#include "atomic.h"
|
|
|
|
int ffsll(long long i)
|
|
{
|
|
return i ? a_ctz_64(i)+1 : 0;
|
|
}
|