diff options
Diffstat (limited to 'lib/sys_stat.in.h')
| -rw-r--r-- | lib/sys_stat.in.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sys_stat.in.h b/lib/sys_stat.in.h index d96fde1007d..6ae6ac5fbdc 100644 --- a/lib/sys_stat.in.h +++ b/lib/sys_stat.in.h | |||
| @@ -57,13 +57,13 @@ | |||
| 57 | /* Before doing "#define mkdir rpl_mkdir" below, we need to include all | 57 | /* Before doing "#define mkdir rpl_mkdir" below, we need to include all |
| 58 | headers that may declare mkdir(). Native Windows platforms declare mkdir | 58 | headers that may declare mkdir(). Native Windows platforms declare mkdir |
| 59 | in <io.h> and/or <direct.h>, not in <unistd.h>. */ | 59 | in <io.h> and/or <direct.h>, not in <unistd.h>. */ |
| 60 | #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ | 60 | #if defined _WIN32 && ! defined __CYGWIN__ |
| 61 | # include <io.h> /* mingw32, mingw64 */ | 61 | # include <io.h> /* mingw32, mingw64 */ |
| 62 | # include <direct.h> /* mingw64, MSVC 9 */ | 62 | # include <direct.h> /* mingw64, MSVC 9 */ |
| 63 | #endif | 63 | #endif |
| 64 | 64 | ||
| 65 | /* Native Windows platforms declare umask() in <io.h>. */ | 65 | /* Native Windows platforms declare umask() in <io.h>. */ |
| 66 | #if 0 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) | 66 | #if 0 && (defined _WIN32 && ! defined __CYGWIN__) |
| 67 | # include <io.h> | 67 | # include <io.h> |
| 68 | #endif | 68 | #endif |
| 69 | 69 | ||
| @@ -576,7 +576,7 @@ _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); | |||
| 576 | Additionally, it declares _mkdir (and depending on compile flags, an | 576 | Additionally, it declares _mkdir (and depending on compile flags, an |
| 577 | alias mkdir), only in the nonstandard includes <direct.h> and <io.h>, | 577 | alias mkdir), only in the nonstandard includes <direct.h> and <io.h>, |
| 578 | which are included above. */ | 578 | which are included above. */ |
| 579 | # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ | 579 | # if defined _WIN32 && ! defined __CYGWIN__ |
| 580 | 580 | ||
| 581 | # if !GNULIB_defined_rpl_mkdir | 581 | # if !GNULIB_defined_rpl_mkdir |
| 582 | static int | 582 | static int |