I committed:
--- tests/test-sys_socket.c.origThu Sep 15 17:57:52 2011
+++ tests/test-sys_socket.c Thu Sep 15 16:06:27 2011
@@ -30,6 +30,10 @@
/* Check that the 'socklen_t' type is defined. */
socklen_t t1;
+/* Check that the 'size_t' and 'ssize_t' types are defined. */
On MSVC 9, ssize_t is not defined, leading to test compilation failures
in test-stdio.c:36, test-sys_uio.c:25, test-unistd.c:40.
According to POSIX:2008, ssize_t ought to be defined in each of
stdio.h
sys/socket.h
sys/types.h
sys/uio.h
unistd.h
This fixes it.
2011-09-15 Bruno Haible
On 09/15/2011 10:08 AM, Bruno Haible wrote:
On MSVC 9, ssize_t is not defined, leading to test compilation failures
in test-stdio.c:36, test-sys_uio.c:25, test-unistd.c:40.
According to POSIX:2008, ssize_t ought to be defined in each of
stdio.h
sys/socket.h
sys/types.h
sys/uio.h