projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1792417
)
Merge branch 'windows-s_issock' of https://github.com/aclamk/fio
author
Jens Axboe
<axboe@kernel.dk>
Fri, 3 Aug 2018 15:15:30 +0000
(09:15 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 3 Aug 2018 15:15:30 +0000
(09:15 -0600)
* 'windows-s_issock' of https://github.com/aclamk/fio:
platforms/windows: Add S_ISSOCK macro.
os/os-windows.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os-windows.h
b/os/os-windows.h
index 01f555e1b6fc3be5e99389365edeb65c4bc02008..aad446e7b71da5f6c8a5846cfe9e8eae5386e5f7 100644
(file)
--- 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