diff options
Diffstat (limited to 'libxml.h')
-rw-r--r-- | libxml.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -32,6 +32,15 @@ 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 @@ -64,6 +73,11 @@ void __xmlLoaderErr(void *ctx, const char *msg, const char *filename); void __htmlParseContent(void *ctx); #endif +/* + * internal global initialization critical section routines. + */ +void __xmlGlobalInitMutexLock(void); +void __xmlGlobalInitMutexUnlock(void); #ifdef IN_LIBXML #ifdef __GNUC__ |