+2011-09-15 Bruno Haible <bruno@clisp.org>
+
+ Support for MSVC compiler: Ensure ssize_t gets defined.
+ * doc/posix-headers/sys_types.texi: Mention the missing ssize_t problem.
+ * doc/posix-headers/stdio.texi: Likewise.
+ * modules/stdio (Depends-on): Add ssize_t.
+ * modules/sys_socket (Depends-on): Likewise.
+ * modules/sys_types (Depends-on): Likewise.
+ * modules/sys_uio (Depends-on): Likewise.
+ * modules/unistd (Depends-on): Likewise.
+ * tests/test-sys_socket.c: Check that size_t and ssize_t are defined.
+ * tests/test-sys_types.c: Check that ssize_t is defined.
+
2011-09-14 Bruno Haible <bruno@clisp.org>
Avoid using #, the m4 comment starter character, near brackets.
glibc 2.8, eglibc 2.11.2 and others.
@item
The type @code{ssize_t} is missing on some platforms:
-glibc 2.8, MacOS X 10.5, Solaris 10, and others.
+glibc 2.8, MacOS X 10.5, Solaris 10, MSVC 9, and others.
@item
The type @code{va_list} is missing on some platforms:
glibc 2.8, OpenBSD 4.0, Solaris 11 2010-11, and others.
/* 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;