Mercurial > hg > octave-nkf > gnulib-hg
changeset 15599:d915252fc89d
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 11 Sep 2011 18:24:16 +0200 |
parents | 38b3c02da7f0 |
children | c9fb431ba6a1 |
files | ChangeLog lib/sys_uio.in.h modules/strings modules/sys_uio |
diffstat | 4 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- a/lib/sys_uio.in.h +++ b/lib/sys_uio.in.h @@ -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