From 742feb41950bc118b65907dad8bc48d3c0f09c2e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 29 Jun 2019 16:59:50 +0100 Subject: [PATCH] [Minor] Add open_memstream check --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc0c4e140..00822aecb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -966,6 +966,8 @@ CHECK_SYMBOL_EXISTS(SSL_set_tlsext_host_name "openssl/ssl.h" HAVE_SSL_TLSEXT_HOS CHECK_SYMBOL_EXISTS(dirfd "sys/types.h;unistd.h;dirent.h" HAVE_DIRFD) CHECK_SYMBOL_EXISTS(fpathconf "sys/types.h;unistd.h" HAVE_FPATHCONF) CHECK_SYMBOL_EXISTS(sigaltstack "signal.h" HAVE_SIGALTSTACK) +CHECK_SYMBOL_EXISTS(open_memstream "stdio.h" HAVE_OPENMEMSTREAM) +CHECK_SYMBOL_EXISTS(fmemopen "stdio.h" HAVE_FMEMOPEN) CHECK_SYMBOL_EXISTS(clock_getcpuclockid "sys/types.h;time.h" HAVE_CLOCK_GETCPUCLOCKID) CHECK_SYMBOL_EXISTS(RUSAGE_SELF "sys/types.h;sys/resource.h" HAVE_RUSAGE_SELF) -- 2.39.5