]> Savannah Git Hosting - gnulib.git/commitdiff
tempname: Support for MSVC.
authorBruno Haible <bruno@clisp.org>
Wed, 14 Sep 2011 00:52:31 +0000 (02:52 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 14 Sep 2011 00:52:31 +0000 (02:52 +0200)
* doc/posix-headers/fcntl.texi: Document the problem with O_ACCMODE on
MSVC.
* modules/tempname (Depends-on): Add fcntl-h.

ChangeLog
doc/posix-headers/fcntl.texi
modules/tempname

index 53089d5babe494ce14ce4c0b07b1a0e3f05b55a8..46c6251bf383bf9417160edaf3633254b8355850 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
index 745b74840aac3cd201a218420de5c6946b667bd9..598bf69435b05516b641f11d3455e94678c5211b 100644 (file)
@@ -26,6 +26,10 @@ non-zero value; otherwise, the gnulib replacement is 0.
 @samp{O_EXEC} and @samp{O_SEARCH} are not defined on some platforms.
 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:
index 8bb8e838592a68dfaf488fb37652d70c828bea3a..b4708d9367f7a5f8b862a4ff2dfa276c84c64a69 100644 (file)
@@ -8,6 +8,7 @@ m4/tempname.m4
 
 Depends-on:
 extensions
+fcntl-h
 gettimeofday
 lstat
 stdint