From 0031121f7ea2a9fc177c1d41785eda78442eeb2e Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Thu, 15 Aug 2019 17:52:34 +0900 Subject: Declare supplement prototypes conditionally It should be declared for the case missing, or may be mismatched with builtin. Signed-off-by: OBATA Akio --- ConfigureChecks.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 7fe40e2c..2382d6dc 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -16,6 +16,8 @@ test_big_endian(WORDS_BIGENDIAN) tde_setup_largefiles( ) +check_symbol_exists( strlcpy "string.h" HAVE_STRLCPY_PROTO ) +check_symbol_exists( strlcat "string.h" HAVE_STRLCAT_PROTO ) ##### check for gcc visibility support ######### -- cgit v1.2.3