On 09/16/2011 03:44 PM, Bruno Haible wrote:
On MSVC 9, I'm getting a syntax error in gnulib's<sys/stat.h>  here:

   static inline int
   rpl_mkdir (char const *name, mode_t mode)

because mode_t is not defined. According to POSIX:2008, mode_t ought to be
defined in each of

   <fcntl.h>
   <spawn.h>
   <sys/stat.h>
   <sys/types.h>

(and other headers which gnulib does not support yet). Here's the fix.

That list (if anyone is interested in implementing them) is:

<ndbm.h>
<sys/ipc.h>

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to