X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-windows.h;h=dc958f5c17189465310a48fb2a1ff28bcc3b6581;hb=d5495f0b72f8fbecb97192da430720aa56f8feb9;hp=aad446e7b71da5f6c8a5846cfe9e8eae5386e5f7;hpb=0aa8371d9fc40121098929a7f670dcdd259b8eee;p=fio.git diff --git a/os/os-windows.h b/os/os-windows.h index aad446e7..dc958f5c 100644 --- a/os/os-windows.h +++ b/os/os-windows.h @@ -35,7 +35,6 @@ int rand_r(unsigned *); #define FIO_HAVE_CPU_AFFINITY #define FIO_HAVE_CHARDEV_SIZE #define FIO_HAVE_GETTID -#define FIO_USE_GENERIC_RAND #define FIO_PREFERRED_ENGINE "windowsaio" #define FIO_PREFERRED_CLOCK_SOURCE CS_CGETTIME @@ -168,7 +167,7 @@ static inline int gettid(void) return GetCurrentThreadId(); } -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;