summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-07-16 15:42:56 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-07-16 15:42:56 +0000
commitaa185afb72e48049359348b718a9abf0d07cd3ad (patch)
tree7871f5d96d7cc56e22d071d4a169365a1499bd59 /pp_sys.c
parent33703721eb602593ba89014e5715dc63a8a46105 (diff)
downloadperl-aa185afb72e48049359348b718a9abf0d07cd3ad.tar.gz
fourth attempt to silence S_emulate_eaccess compiler warning
p4raw-id: //depot/perl@31617
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pp_sys.c b/pp_sys.c
index deed9ff2ea..8193f3cbd0 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -298,9 +298,7 @@ S_emulate_eaccess(pTHX_ const char* path, Mode_t mode)
return res;
}
# define PERL_EFF_ACCESS(p,f) (emulate_eaccess((p), (f)))
-#endif
-
-#if !defined(PERL_EFF_ACCESS)
+#else
/* With it or without it: anyway you get a warning: either that
it is unused, or it is declared static and never defined.
*/