diff options
Diffstat (limited to 'libxml.h')
-rw-r--r-- | libxml.h | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -20,6 +20,14 @@ #if defined(macintosh) #include "config-mac.h" +#elif defined(_WIN32_WCE) +/* + * Windows CE compatibility definitions and functions + * This is needed to compile libxml2 for Windows CE. + * At least I tested it with WinCE 5.0 for Emulator and WinCE 4.2/SH4 target + */ +#include <win32config.h> +#include <libxml/xmlversion.h> #else #include "config.h" #include <libxml/xmlversion.h> @@ -32,15 +40,6 @@ int snprintf(char *, size_t, const char *, ...); int vfprintf(FILE *, const char *, va_list); #endif -/* - * Windows CE compatibility definitions and functions - * This is needed to compile libxml2 for Windows CE. - * At least I tested it with WinCE 4.2 for Emulator and SH4 target - */ -#if defined(_WIN32_WCE) -#include <wincecompat.h> -#endif - #ifndef WITH_TRIO #include <stdio.h> #else |