diff options
Diffstat (limited to 'lib/euidaccess.c')
| -rw-r--r-- | lib/euidaccess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/euidaccess.c b/lib/euidaccess.c index 4f512f5af54..de5d82b52d5 100644 --- a/lib/euidaccess.c +++ b/lib/euidaccess.c | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | #include <sys/types.h> | 29 | #include <sys/types.h> |
| 30 | #include <sys/stat.h> | 30 | #include <sys/stat.h> |
| 31 | #include <unistd.h> | 31 | #include <unistd.h> |
| 32 | #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ | 32 | #if defined _WIN32 && ! defined __CYGWIN__ |
| 33 | # include <io.h> | 33 | # include <io.h> |
| 34 | #else | 34 | #else |
| 35 | # include "root-uid.h" | 35 | # include "root-uid.h" |
| @@ -87,7 +87,7 @@ euidaccess (const char *file, int mode) | |||
| 87 | return accessx (file, mode, ACC_SELF); | 87 | return accessx (file, mode, ACC_SELF); |
| 88 | #elif HAVE_EACCESS /* FreeBSD */ | 88 | #elif HAVE_EACCESS /* FreeBSD */ |
| 89 | return eaccess (file, mode); | 89 | return eaccess (file, mode); |
| 90 | #elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ /* mingw */ | 90 | #elif defined _WIN32 && ! defined __CYGWIN__ /* mingw */ |
| 91 | return _access (file, mode); | 91 | return _access (file, mode); |
| 92 | #else /* Mac OS X, NetBSD, OpenBSD, HP-UX, Solaris, Cygwin, BeOS */ | 92 | #else /* Mac OS X, NetBSD, OpenBSD, HP-UX, Solaris, Cygwin, BeOS */ |
| 93 | 93 | ||