|
From: | Eric Blake |
Subject: | Re: mode_t on MSVC |
Date: | Fri, 16 Sep 2011 15:48:57 -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/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 address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |