]> Savannah Git Hosting - gnulib.git/commitdiff
Support for MSVC compiler: Ensure size_t gets defined.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Sep 2011 16:24:16 +0000 (18:24 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Sep 2011 16:24:16 +0000 (18:24 +0200)
* modules/strings (Depends-on): Add 'sys_types'.
* modules/sys_uio (Depends-on): Likewise.
* lib/sys_uio.in.h: Update comment.

ChangeLog
lib/sys_uio.in.h
modules/strings
modules/sys_uio

index c5ebe174ac0e4b75622bf7b1b0f9d3aa359e931c..1570c2709e53e792a7cda1fcfc2658dd4e4b126f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-09-11  Bruno Haible  <bruno@clisp.org>
 
+       Support for MSVC compiler: Ensure size_t gets defined.
+       * modules/strings (Depends-on): Add 'sys_types'.
+       * modules/sys_uio (Depends-on): Likewise.
+       * lib/sys_uio.in.h: Update comment.
+
        C++ tests for module 'sys_types'.
        * modules/sys_types-c++-tests: New file.
        * tests/test-sys_types-c++.cc: New file.
index e043d02b8e492c7a7a538bc51506ffe6b877caa3..04cf13db9e6606f78e7d2c4cacdb93e48d93a87d 100644 (file)
@@ -37,7 +37,7 @@
 
 #if !@HAVE_SYS_UIO_H@
 /* A platform that lacks <sys/uio.h>.  */
-/* Get 'ssize_t'.  */
+/* Get 'size_t' and 'ssize_t'.  */
 # include <sys/types.h>
 
 # ifdef __cplusplus
index 631cabbae93840680c04a0008dfdbfc22981a857..905a45c6ed7d727e4679ebcdd1d4387a14fb3ca9 100644 (file)
@@ -10,6 +10,7 @@ include_next
 snippet/arg-nonnull
 snippet/c++defs
 snippet/warn-on-use
+sys_types
 
 configure.ac:
 gl_HEADER_STRINGS_H
index b6ca3d82dd803af17393ac99872cf9c492068f5b..337ad8f629f688e71e2f37b93c5d884324d40b67 100644 (file)
@@ -7,6 +7,7 @@ m4/sys_uio_h.m4
 
 Depends-on:
 include_next
+sys_types
 
 configure.ac:
 gl_HEADER_SYS_UIO