commit 3831ece14e28284302cc1a49f568b5c0b6858f90
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Jun 7 01:33:58 2009 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sun Jun 7 01:33:58 2009 +0000
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(+)
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.