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 /triostr.c | |
parent | ed12138b18935276f3815f42a108192cf8b1bf12 (diff) | |
download | libxml2-59d3ed8fe0ae9e8f453501d0993f2bc2f3f34ae8.tar.gz |
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 'triostr.c')
-rw-r--r-- | triostr.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -73,7 +73,11 @@ # endif #elif defined(TRIO_PLATFORM_WIN32) # define USE_STRCASECMP -# define strcasecmp(x,y) strcmpi(x,y) +# if defined(_WIN32_WCE) +# define strcasecmp(x,y) _stricmp(x,y) +# else +# define strcasecmp(x,y) strcmpi(x,y) +# endif #endif #if !(defined(TRIO_PLATFORM_SUNOS)) @@ -574,7 +578,7 @@ TRIO_ARGS1((error_number), } -#if !defined(TRIO_MINIMAL) +#if !defined(TRIO_MINIMAL) && !defined(_WIN32_WCE) /** Format the date/time according to @p format. @@ -1887,7 +1891,7 @@ TRIO_ARGS3((self, max, other), #endif /* !defined(TRIO_MINIMAL) */ -#if !defined(TRIO_MINIMAL) +#if !defined(TRIO_MINIMAL) && !defined(_WIN32_WCE) /* * trio_string_format_data_max */ |