Update comment.
authorBruno Haible <bruno@clisp.org>
Sat, 10 Apr 2010 23:55:23 +0000 (01:55 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 10 Apr 2010 23:55:23 +0000 (01:55 +0200)
ChangeLog
lib/mkdir.c

index 16bf6fa..d79dcbf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index b117b76..4e5928b 100644 (file)
@@ -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