diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2007-04-17 12:44:58 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2007-04-17 12:44:58 +0000 |
commit | 59d3ed8fe0ae9e8f453501d0993f2bc2f3f34ae8 (patch) | |
tree | bd075af9da493ced41a21737eed9d8f73b48ea98 /catalog.c | |
parent | ed12138b18935276f3815f42a108192cf8b1bf12 (diff) | |
download | android_external_libxml2-59d3ed8fe0ae9e8f453501d0993f2bc2f3f34ae8.tar.gz android_external_libxml2-59d3ed8fe0ae9e8f453501d0993f2bc2f3f34ae8.tar.bz2 android_external_libxml2-59d3ed8fe0ae9e8f453501d0993f2bc2f3f34ae8.zip |
applied patch from Andreas Stricke to ease the compilation on Windows CE
* catalog.c libxml.h win32/wince/wincecompat.h win32/wince/wincecompat.c
xmlIO.c nanohttp.c nanoftp.c trio.c triostr.c triostr.h: applied
patch from Andreas Stricke to ease the compilation on Windows CE
Daniel
svn path=/trunk/; revision=3600
Diffstat (limited to 'catalog.c')
-rw-r--r-- | catalog.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -77,9 +77,15 @@ #if defined(_WIN32) && defined(_MSC_VER) #undef XML_XML_DEFAULT_CATALOG static char XML_XML_DEFAULT_CATALOG[256] = "file:///etc/xml/catalog"; +#if defined(_WIN32_WCE) +/* Windows CE don't have a A variant */ +#define GetModuleHandleA GetModuleHandle +#define GetModuleFileNameA GetModuleFileName +#else void* __stdcall GetModuleHandleA(const char*); unsigned long __stdcall GetModuleFileNameA(void*, char*, unsigned long); #endif +#endif static xmlChar *xmlCatalogNormalizePublic(const xmlChar *pubID); static int xmlExpandCatalog(xmlCatalogPtr catal, const char *filename); |