projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support for MSVC compiler: Ensure ssize_t gets defined.
[gnulib.git]
/
tests
/
test-sys_socket.c
diff --git
a/tests/test-sys_socket.c
b/tests/test-sys_socket.c
index
a6e99d6
..
766bd17
100644
(file)
--- a/
tests/test-sys_socket.c
+++ b/
tests/test-sys_socket.c
@@
-30,6
+30,10
@@
int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };
/* Check that the 'socklen_t' type is defined. */
socklen_t t1;
+/* Check that the 'size_t' and 'ssize_t' types are defined. */
+size_t t1;
+ssize_t t2;
+
/* Check that 'struct iovec' is defined. */
struct iovec io;