diff src/sysfile.h @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 0293115a14e9
line wrap: on
line diff
--- a/src/sysfile.h	Mon Aug 13 08:45:53 2007 +0200
+++ b/src/sysfile.h	Mon Aug 13 08:46:35 2007 +0200
@@ -177,6 +177,17 @@
 # define sys_access access
 #endif
 
+#ifdef ENCAPSULATE_EACCESS
+extern int sys_eaccess (CONST char *path, int mode);
+#endif
+#if defined (ENCAPSULATE_EACCESS) && !defined (DONT_ENCAPSULATE)
+# undef eaccess
+# define eaccess sys_eaccess
+#endif
+#if !defined (ENCAPSULATE_EACCESS) && defined (DONT_ENCAPSULATE)
+# define sys_eaccess eaccess
+#endif
+
 #ifdef ENCAPSULATE_LSTAT
 extern int sys_lstat (CONST char *path, struct stat *buf);
 #endif