projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1415a9
)
Fix Windows issue with socklen_t
author
Bruce Cran
<bruce@cran.org.uk>
Sat, 8 Oct 2011 16:51:22 +0000
(18:51 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Sat, 8 Oct 2011 16:51:22 +0000
(18:51 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/os-windows.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os-windows.h
b/os/os-windows.h
index 65ba437751d4d5817a08446c95d25e492dc89ba8..8812cfa2e0d76943d398acc11e5b67787a7d9b50 100644
(file)
--- a/
os/os-windows.h
+++ b/
os/os-windows.h
@@
-21,6
+21,9
@@
#define FIO_HAVE_WINDOWSAIO
\r
#define FIO_HAVE_GETTID
\r
\r
#define FIO_HAVE_WINDOWSAIO
\r
#define FIO_HAVE_GETTID
\r
\r
+#define FIO_OS_HAVE_SOCKLEN_T
\r
+typedef int fio_socklen_t;
\r
+
\r
#define FIO_USE_GENERIC_RAND
\r
\r
#define OS_MAP_ANON MAP_ANON
\r
#define FIO_USE_GENERIC_RAND
\r
\r
#define OS_MAP_ANON MAP_ANON
\r