From: Adam Kupczyk Date: Fri, 3 Aug 2018 10:48:28 +0000 (+0200) Subject: platforms/windows: Add S_ISSOCK macro. X-Git-Tag: fio-3.9~51^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=f64fe5ac5308ee80f9d27a7854abfe4507116189;p=fio.git platforms/windows: Add S_ISSOCK macro. Signed-off-by: Adam Kupczyk --- 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