emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build failure on M$ (using MSVC): Patch enclosed


From: Eli Zaretskii
Subject: Re: Build failure on M$ (using MSVC): Patch enclosed
Date: Tue, 20 May 2008 21:12:20 +0300

> Date: Tue, 20 May 2008 10:28:58 +0530
> From: dhruva <address@hidden>
> 
> +#ifdef WINDOWSNT
> +#include <string.h>
> +#ifndef strcasecmp
> +#define strcasecmp(a,b) stricmp(a,b)
> +#endif

Thanks, but please put the strcasecmp define in src/s/ms-w32.h.
There's no need to infect general files with OS-specific stuff.
As a bonus, you will need only one such #define that will take care of
all the uses of strcasecmp.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]