Re: wcsncasecmp undefined up to Mac OS X 10.7

2015-02-24 Thread Nicholas Clifton
Hi Stefan, As this function is first available starting from OS X 10.7, I tried to solve the problem using towlower and wcsncmp. The problem with these functions is that towlower takes a wint_t argument but wcsncmp takes wchar_t arguments. A colleague of mine however pointer out that you ca

wcsncasecmp undefined up to Mac OS X 10.7

2014-12-28 Thread Stefan Schmidt
Hello, I tried to compile binutils-2.25 to run on Mac OS X 10.4 and targeting Mingw-w64. However, I stumbled over the missing wcsncasecmp function in bfd/peXXigen.c. As this function is first available starting from OS X 10.7, I tried to solve the problem using towlower and wcsncmp. While the a