From 3831ece14e28284302cc1a49f568b5c0b6858f90 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 7 Jun 2009 01:33:58 +0000 Subject: Include libc_wince.h when on Windows CE. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1559 --- src/doomtype.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/doomtype.h') diff --git a/src/doomtype.h b/src/doomtype.h index 2c9680b3..0a5b5e38 100644 --- a/src/doomtype.h +++ b/src/doomtype.h @@ -29,6 +29,13 @@ #ifndef __DOOMTYPE__ #define __DOOMTYPE__ +// Windows CE is missing some vital ANSI C functions. We have to +// use our own replacements. + +#ifdef _WIN32_WCE +#include "libc_wince.h" +#endif + // C99 integer types; with gcc we just use this. Other compilers // should add conditional statements that define the C99 types. -- cgit v1.2.3