X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fos-windows.h;h=aad446e7b71da5f6c8a5846cfe9e8eae5386e5f7;hb=5d665e96ca02da02210606c3eed0489f78f06310;hp=01f555e1b6fc3be5e99389365edeb65c4bc02008;hpb=a6ab5391edbc87bdf1e5c0d218ccf7d8325a8c55;p=fio.git diff --git a/os/os-windows.h b/os/os-windows.h index 01f555e1..aad446e7 100644 --- a/os/os-windows.h +++ b/os/os-windows.h @@ -74,6 +74,10 @@ int rand_r(unsigned *); /* Winsock doesn't support MSG_WAIT */ #define OS_MSG_DONTWAIT 0 +#ifndef S_ISSOCK +#define S_ISSOCK(x) 0 +#endif + #define SIGCONT 0 #define SIGUSR1 1 #define SIGUSR2 2