From 2fd68fa7c8b3a95e4acf7cd6f362457674dfd695 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 25 Jan 2006 13:30:11 +0000 Subject: * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use system routine if provided. fixed: [ruby-core:07195] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'file.c') diff --git a/file.c b/file.c index d3f7639dd..9516e3f03 100644 --- a/file.c +++ b/file.c @@ -818,6 +818,7 @@ group_member(GETGROUPS_T gid) # define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) #endif +#ifndef HAVE_EACCESS int eaccess(const char *path, int mode) { @@ -857,6 +858,7 @@ eaccess(const char *path, int mode) return access(path, mode); #endif } +#endif /* -- cgit