diff options
author | OBATA Akio <obache@wizdas.com> | 2019-08-15 17:52:34 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-08-15 22:32:43 +0200 |
commit | 2ba631e788b8ebc5a12ad6647d763d726c35455f (patch) | |
tree | fd254a0c2bf5a13594dbee2762ac5bb30ecb8e59 /ConfigureChecks.cmake | |
parent | e951a69396ba1614775ba97dcac7dd34153c864a (diff) | |
download | tdepim-2ba631e788b8ebc5a12ad6647d763d726c35455f.tar.gz tdepim-2ba631e788b8ebc5a12ad6647d763d726c35455f.zip |
Declare supplement prototypes conditionally
It should be declared for the case missing, or may be mismatched with builtin.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 0031121f7ea2a9fc177c1d41785eda78442eeb2e)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 7fe40e2ce..2382d6dca 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 ######### |