Add missing CXX check : HAVE_STRCASECMP, HAVE_STRNCASECMP on string.h
This issue appear with clang++ -O1 -fsanitize=address compiler
This commit is contained in:
parent
f97191b050
commit
9349158d02
|
@ -83,6 +83,9 @@ macro( perform_feature_checks )
|
|||
check_symbol_exists( strncasecmp "strings.h" HAVE_STRNCASECMP )
|
||||
check_symbol_exists( strtok_r "string.h" HAVE_STRTOKR )
|
||||
|
||||
check_cxx_symbol_exists( strcasecmp "string.h" HAVE_STRCASECMP )
|
||||
check_cxx_symbol_exists( strncasecmp "string.h" HAVE_STRNCASECMP )
|
||||
|
||||
# Some platforms define malloc and free in malloc.h instead of stdlib.h.
|
||||
check_symbol_exists( malloc "stdlib.h" MALLOC_IN_STDLIB_H )
|
||||
|
||||
|
|
Loading…
Reference in New Issue