diff options
Diffstat (limited to 'src/setup/execute.c')
-rw-r--r-- | src/setup/execute.c | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/src/setup/execute.c b/src/setup/execute.c index 0b5faa65..1b510f2e 100644 --- a/src/setup/execute.c +++ b/src/setup/execute.c @@ -28,11 +28,19 @@ #include <sys/types.h> -#ifndef _WIN32 - #include <sys/wait.h> - #include <unistd.h> +#if defined(_WIN32_WCE) + +#include "libc_wince.h" + +#elif defined(_WIN32) + +#include <process.h> + #else - #include <process.h> + +#include <sys/wait.h> +#include <unistd.h> + #endif #include "textscreen.h" @@ -126,7 +134,16 @@ void AddCmdLineParameter(execute_context_t *context, char *s, ...) fprintf(context->stream, "\n"); } -#ifdef _WIN32 +#if defined(_WIN32_WCE) + +static int ExecuteCommand(const char **argv) +{ + // Windows CE version. + // TODO + return 0; +} + +#elif defined(_WIN32) static int ExecuteCommand(const char **argv) { |