summaryrefslogtreecommitdiff
path: root/src/doomtype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/doomtype.h')
-rw-r--r--src/doomtype.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/doomtype.h b/src/doomtype.h
index 0adc5fab..b79bd687 100644
--- a/src/doomtype.h
+++ b/src/doomtype.h
@@ -62,6 +62,13 @@
#define PACKEDATTR
#endif
+// 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.