Hi/2.

Eric Blake wrote:
> On 11/29/2014 09:20 PM, KO Myung-Hun wrote:
>> * lib/relocatable.c: Define strcmp and strncmp to stricmp and
>> strnicmp on EMX, respectively. (_DLL_InitTerm): New on EMX. 
>> (get_shared_library_fullname): Implement on EMX. --- 
>> lib/relocatable.c | 51
>> ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file
>> changed, 48 insertions(+), 3 deletions(-)
>> 
>> diff --git a/lib/relocatable.c b/lib/relocatable.c index
>> 81dcaeb..c48ed1c 100644 --- a/lib/relocatable.c +++
>> b/lib/relocatable.c @@ -47,6 +47,14 @@ # include <windows.h> 
>> #endif
>> 
>> +#ifdef __EMX__ +# define INCL_DOS +# include <os2.h> + +#define
>> strcmp  stricmp +#define strncmp strnicmp
> 
> stricmp is a non-standard case-insensitive comparator.  Why not use
> the standardized strcasecmp instead?  Similarly for strncasecmp.
> 

EMX does not have strcasecmp et al.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr


Reply via email to