Hash :
439b7f4d
Author :
Date :
2025-02-17T08:11:57
strcasecmp, strncasecmp: Fix compilation error on MSVC. * modules/strcasecmp (configure.ac): Invoke gl_STRINGS_MODULE_INDICATOR. * modules/strncasecmp (configure.ac): Likewise.
Description:
Case-insensitive string comparison function for unibyte locales.
Files:
lib/strcasecmp.c
m4/strcasecmp.m4
Depends-on:
strings-h
configure.ac:
gl_FUNC_STRCASECMP
gl_CONDITIONAL([GL_COND_OBJ_STRCASECMP],
[test $HAVE_STRCASECMP = 0 || test $REPLACE_STRCASECMP = 1])
AM_COND_IF([GL_COND_OBJ_STRCASECMP], [
gl_PREREQ_STRCASECMP
])
gl_STRINGS_MODULE_INDICATOR([strcasecmp])
Makefile.am:
if GL_COND_OBJ_STRCASECMP
lib_SOURCES += strcasecmp.c
endif
Include:
<strings.h>
License:
LGPLv2+
Maintainer:
all