* src/lib/evil_unistd.c:

* src/lib/evil_unistd.h:
	add execvp stub function for ecore_app. Does nothing,
	only here to make compilation working with mingw32ce.



SVN revision: 37102
This commit is contained in:
Vincent Torri 2008-10-25 17:39:59 +00:00
parent 1065c6298a
commit bb5f1a561a
3 changed files with 47 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2008-10-25 Vincent Torri <doursse at users dot sf dot net>
* src/lib/evil_unistd.c:
* src/lib/evil_unistd.h:
add execvp stub function for ecore_app. Does nothing,
only here to make compilation working with mingw32ce.
2008-10-24 Vincent Torri <doursse at users dot sf dot net>
* src/lib/Makefile.am:

View File

@ -427,3 +427,18 @@ evil_pipe(int *fds)
return -1;
}
/*
* Exec related functions
*
*/
#if defined (_WIN32_WCE) && ! defined (__CEGCC__)
int execvp( const char *file, char *const argv[])
{
return 1;
}
#endif /* _WIN32_WCE && ! __CEGCC__ */

View File

@ -177,4 +177,29 @@ EAPI void evil_sockets_shutdown(void);
EAPI int evil_pipe(int *fds);
/*
* Exec related functions
*
*/
#if defined (_WIN32_WCE) && ! defined (__CEGCC__)
/**
* @brief Replace the current process image with a new process image.
*
* @param file The file name of the file being executed.
* @param argv A @c NULL terminated array of strings.
* @return Always 1.
*
* This function does nothing and returns always 1. It is defined for
* ecore_app only for native Windows CE code.
*
* @ingroup Evil
*/
int execvp( const char *file, char *const argv[]);
#endif /* _WIN32_WCE && ! __CEGCC__ */
#endif /* __EVIL_UNISTD_H__ */