From 1a54277adf6413026ccd77435601bcb50f1aa169 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 7 Jun 2009 15:21:41 +0000 Subject: Fix setup tool compile on Windows CE. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1567 --- setup/execute.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'setup/execute.c') diff --git a/setup/execute.c b/setup/execute.c index b5b8a7c6..8f082de7 100644 --- a/setup/execute.c +++ b/setup/execute.c @@ -28,11 +28,19 @@ #include -#ifndef _WIN32 - #include - #include +#if defined(_WIN32_WCE) + +#include "libc_wince.h" + +#elif defined(_WIN32) + +#include +#include + #else - #include + +#include + #endif #include "textscreen.h" @@ -139,7 +147,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) { -- cgit v1.2.3