summaryrefslogtreecommitdiff
path: root/triostr.c
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2013-12-12 15:11:40 +0800
committerDaniel Veillard <veillard@redhat.com>2013-12-12 15:11:40 +0800
commitca9fc43bf7a44c88b2b8bb9ac2b4da21ebac2972 (patch)
treed8fea4fea030761212d6275d9b7deb8ee35eae65 /triostr.c
parent0f7a26d8442b87fb7d576e759c9148e8feff9e20 (diff)
downloadlibxml2-ca9fc43bf7a44c88b2b8bb9ac2b4da21ebac2972.tar.gz
Portability fixes for OS/400
Diffstat (limited to 'triostr.c')
-rw-r--r--triostr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/triostr.c b/triostr.c
index e507645c..3c5c667a 100644
--- a/triostr.c
+++ b/triostr.c
@@ -78,6 +78,10 @@
# else
# define strcasecmp(x,y) strcmpi(x,y)
# endif
+#elif defined(TRIO_PLATFORM_OS400)
+# define USE_STRCASECMP
+# define USE_STRNCASECMP
+# include <strings.h>
#endif
#if !(defined(TRIO_PLATFORM_SUNOS))