diff options
Diffstat (limited to 'g10/exec.c')
-rw-r--r-- | g10/exec.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/g10/exec.c b/g10/exec.c index 8f26edadf..2803812dc 100644 --- a/g10/exec.c +++ b/g10/exec.c @@ -74,6 +74,9 @@ set_exec_path(const char *path) { return G10ERR_GENERAL; } static int w32_system(const char *command) { +#ifdef HAVE_W32CE_SYSTEM +#warning Change this code to use common/exechelp.c +#else PROCESS_INFORMATION pi; STARTUPINFO si; char *string; @@ -99,6 +102,7 @@ w32_system(const char *command) xfree(string); return 0; +#endif } #endif @@ -106,6 +110,9 @@ w32_system(const char *command) int set_exec_path(const char *path) { +#ifdef HAVE_W32CE_SYSTEM +#warning Change this code to use common/exechelp.c +#else char *p; p=xmalloc(5+strlen(path)+1); @@ -123,6 +130,7 @@ set_exec_path(const char *path) return G10ERR_GENERAL; else return 0; +#endif } /* Makes a temp directory and filenames */ |