summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2009-06-07 01:33:58 +0000
committerSimon Howard2009-06-07 01:33:58 +0000
commit3831ece14e28284302cc1a49f568b5c0b6858f90 (patch)
tree017763a443bb2c0548c20be814043453bd1b5bfe
parent7f9b5d41173c7db6465a5f7666fe7913106a8c1c (diff)
downloadchocolate-doom-3831ece14e28284302cc1a49f568b5c0b6858f90.tar.gz
chocolate-doom-3831ece14e28284302cc1a49f568b5c0b6858f90.tar.bz2
chocolate-doom-3831ece14e28284302cc1a49f568b5c0b6858f90.zip
Include libc_wince.h when on Windows CE.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1559
-rw-r--r--src/doomtype.h7
1 files changed, 7 insertions, 0 deletions
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.