* doc/posix-headers/fcntl.texi: Document the problem with O_ACCMODE on
MSVC.
* modules/tempname (Depends-on): Add fcntl-h.
2011-09-13 Bruno Haible <bruno@clisp.org>
+ tempname: Support for MSVC.
+ * doc/posix-headers/fcntl.texi: Document the problem with O_ACCMODE on
+ MSVC.
+ * modules/tempname (Depends-on): Add fcntl-h.
+
+2011-09-13 Bruno Haible <bruno@clisp.org>
+
sys_time: Support for MSVC.
* m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Invoke
gl_PREREQ_SYS_H_WINSOCK2. When testing for 'struct timeval', also
Gnulib defines these macros to @samp{O_RDONLY}, which is typically 0.
@item
+@samp{O_ACCMODE} is not defined on some platforms:
+MSVC 9.
+
+@item
The @samp{O_ACCMODE} mask mistakenly omits @samp{O_SEARCH} and
@samp{O_EXEC} on some platforms:
Cygwin.
Depends-on:
extensions
+fcntl-h
gettimeofday
lstat
stdint