commit | ca9fc43bf7a44c88b2b8bb9ac2b4da21ebac2972 | [log] [tgz] |
---|---|---|
author | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | Thu Dec 12 15:11:40 2013 +0800 |
committer | Daniel Veillard <veillard@redhat.com> | Thu Dec 12 15:11:40 2013 +0800 |
tree | d8fea4fea030761212d6275d9b7deb8ee35eae65 | |
parent | 0f7a26d8442b87fb7d576e759c9148e8feff9e20 [diff] [blame] |
Portability fixes for OS/400
diff --git a/triostr.c b/triostr.c index e507645..3c5c667 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))