summaryrefslogtreecommitdiff
path: root/triostr.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2007-04-17 12:44:58 +0000
committerDaniel Veillard <veillard@src.gnome.org>2007-04-17 12:44:58 +0000
commit59d3ed8fe0ae9e8f453501d0993f2bc2f3f34ae8 (patch)
treebd075af9da493ced41a21737eed9d8f73b48ea98 /triostr.c
parented12138b18935276f3815f42a108192cf8b1bf12 (diff)
downloadlibxml2-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.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/triostr.c b/triostr.c
index 2082e961..30d13ac0 100644
--- a/triostr.c
+++ b/triostr.c
@@ -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
*/