summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 20fd26afdd..257a086aad 100644
--- a/file.c
+++ b/file.c
@@ -463,7 +463,7 @@ eaccess(path, mode)
const char *path;
int mode;
{
-#ifdef S_IXGRP
+#if defined(S_IXGRP) && !defined(_WIN32)
struct stat st;
int euid;