aboutsummaryrefslogtreecommitdiffstats
path: root/g10/exec.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-04-14 14:39:16 +0000
committerWerner Koch <[email protected]>2010-04-14 14:39:16 +0000
commit53c636c4c666ab27440fb4a866bf0ae32f0aa517 (patch)
treeac6d1e065b3f65bec63484d636c1ed0b19dbf8d1 /g10/exec.c
parentWhole lot of changes to support CE. (diff)
downloadgnupg-53c636c4c666ab27440fb4a866bf0ae32f0aa517.tar.gz
gnupg-53c636c4c666ab27440fb4a866bf0ae32f0aa517.zip
./autogen.sh --build-w32ce does now succeed.
Diffstat (limited to 'g10/exec.c')
-rw-r--r--g10/exec.c8
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 */