X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-windows.h;h=3e9f73413b26a5f2c5e778b63df4281f2e7df994;hp=ef955dc36f4fd18fe1cab5f7ffc38da750e1352b;hb=ce4d13ca162df4127ec3b5911553802c53396705;hpb=46bfd4e5170ec950c1eb2e27c2ae67fa9b84ee12 diff --git a/os/os-windows.h b/os/os-windows.h index ef955dc3..3e9f7341 100644 --- a/os/os-windows.h +++ b/os/os-windows.h @@ -162,12 +162,14 @@ static inline unsigned long long os_phys_mem(void) return (unsigned long long) pages * (unsigned long long) pagesize; } +#ifndef CONFIG_HAVE_GETTID static inline int gettid(void) { return GetCurrentThreadId(); } +#endif -static inline int init_random_seeds(unsigned long *rand_seeds, int size) +static inline int init_random_seeds(uint64_t *rand_seeds, int size) { HCRYPTPROV hCryptProv;