bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssize_t on MSVC


From: Eric Blake
Subject: Re: ssize_t on MSVC
Date: Thu, 15 Sep 2011 10:16:36 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110831 Fedora/3.1.12-2.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.12

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>
   <unistd.h>

For the record, POSIX 2008 also requires ssize_t in these headers (but we don't care right now, as we lack gnulib wrappers):

<aio.h>
<monetary.h>
<mqueue.h>
<sys/msg.h>

--
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]