aboutsummaryrefslogtreecommitdiff
path: root/backends/wince/missing/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/wince/missing/io.h')
-rw-r--r--backends/wince/missing/io.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/backends/wince/missing/io.h b/backends/wince/missing/io.h
new file mode 100644
index 0000000000..a7b74c71b7
--- /dev/null
+++ b/backends/wince/missing/io.h
@@ -0,0 +1,15 @@
+/* Header is not present in Windows CE SDK */
+
+/* This stuff will live here until port configuration file is in place */
+#define stricmp _stricmp
+#define strdup _strdup
+#define _HEAPOK 0
+#define _heapchk() 0
+
+#ifndef _FILE_DEFINED
+ typedef void FILE;
+ #define _FILE_DEFINED
+#endif
+FILE* wce_fopen(const char* fname, const char* fmode);
+#define fopen wce_fopen
+