Mercurial > hg > xemacs-beta
diff src/sysfile.h @ 16:0293115a14e9 r19-15b91
Import from CVS: tag r19-15b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:49:20 +0200 |
parents | ac2d302a0011 |
children | 4be1180a9e89 |
line wrap: on
line diff
--- a/src/sysfile.h Mon Aug 13 08:48:43 2007 +0200 +++ b/src/sysfile.h Mon Aug 13 08:49:20 2007 +0200 @@ -289,3 +289,14 @@ #if !defined (ENCAPSULATE_UNLINK) && defined (DONT_ENCAPSULATE) # define sys_unlink unlink #endif + +#ifdef ENCAPSULATE_EXECVP +extern int sys_execvp (CONST char *, char * CONST *); +#endif +#if defined (ENCAPSULATE_EXECVP) && !defined (DONT_ENCAPSULATE) +# undef execvp +# define execvp sys_execvp +#endif +#if !defined (ENCAPSULATE_EXECVP) && defined (DONT_ENCAPSULATE) +# define sys_execvp execvp +#endif