changeset 13206:2ca5f3938ef0

Update comment.
author Bruno Haible <bruno@clisp.org>
date Sun, 11 Apr 2010 01:55:23 +0200
parents 16c9f09bd804
children d6fb1e50d8db
files ChangeLog lib/mkdir.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Apr 11 00:25:21 2010 +0200
+++ b/ChangeLog	Sun Apr 11 01:55:23 2010 +0200
@@ -2,6 +2,7 @@
 
 	mkdir: Make it work on mingw64.
 	* lib/sys_stat.in.h: Include <direct.h> together with <io.h>.
+	* lib/mkdir.c: Update comment.
 	Reported by Roman Donchenko (Роман Донченко) <dxdragon@yandex.ru>.
 
 2010-04-10  Bruno Haible  <bruno@clisp.org>
--- a/lib/mkdir.c	Sun Apr 11 00:25:21 2010 +0200
+++ b/lib/mkdir.c	Sun Apr 11 01:55:23 2010 +0200
@@ -36,7 +36,8 @@
 
 /* mingw's _mkdir() function has 1 argument, but we pass 2 arguments.
    Additionally, it declares _mkdir (and depending on compile flags, an
-   alias mkdir), only in the nonstandard io.h.  */
+   alias mkdir), only in the nonstandard includes <direct.h> and <io.h>,
+   which are included in the <sys/stat.h> override.  */
 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 # define mkdir(name,mode) _mkdir (name)
 # define maybe_unused _GL_UNUSED