|
@@ -51,6 +51,22 @@
|
|
|
#include <netinet6/in6.h>
|
|
|
#endif
|
|
|
|
|
|
+#if defined (WINCE)
|
|
|
+#include <fcntl.h>
|
|
|
+#include <io.h>
|
|
|
+#include <math.h>
|
|
|
+#include <projects.h>
|
|
|
+#define snprintf _snprintf
|
|
|
+/* this is not exported as W .... */
|
|
|
+#define SHGetPathFromIDListW SHGetPathFromIDList
|
|
|
+/* wcecompat has vasprintf */
|
|
|
+#define HAVE_VASPRINTF
|
|
|
+/* no service here */
|
|
|
+#ifdef NT_SERVICE
|
|
|
+#undef NT_SERVICE
|
|
|
+#endif
|
|
|
+#endif // WINCE
|
|
|
+
|
|
|
#ifndef NULL_REP_IS_ZERO_BYTES
|
|
|
#error "It seems your platform does not represent NULL as zero. We can't cope."
|
|
|
#endif
|