diff options
author | Simon Howard | 2009-06-09 18:28:51 +0000 |
---|---|---|
committer | Simon Howard | 2009-06-09 18:28:51 +0000 |
commit | 122dcc372f579c54ba2e6f793493cfa4d0a7d609 (patch) | |
tree | 5df714640d4ae007e95540c89b8f6f0d80f79767 /src/setup/execute.c | |
parent | 46ad00deca23f3c57fcaed47af67f9003d6a4048 (diff) | |
parent | b6491fa4aefc073a760d4bad51f55c2d6c0f5f35 (diff) | |
download | chocolate-doom-122dcc372f579c54ba2e6f793493cfa4d0a7d609.tar.gz chocolate-doom-122dcc372f579c54ba2e6f793493cfa4d0a7d609.tar.bz2 chocolate-doom-122dcc372f579c54ba2e6f793493cfa4d0a7d609.zip |
Merge from trunk.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1579
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) { |