[mingw32] environment variables are case-insensitive on win32
Pedro Alves
palves@redhat.com
Thu May 24 17:20:00 GMT 2012
On 05/24/2012 05:49 PM, Jerome Guitton wrote:
> +
> +#if defined(_WIN32) || !defined(__CYGWIN__)
I think you meant:
#if defined(_WIN32) && !defined(__CYGWIN__)
?
> +#define env_var_name_ncmp(a, b, length) strnicmp (a, b, length)
We use strncasecmp everywhere else.
> +#else
> +#define env_var_name_ncmp(a, b, length) strncmp(a, b, length)
> +#endif
> +
--
Pedro Alves
More information about the Gdb-patches
mailing list