From 11c7e561fc29b56ade8ae6ec549b21c533540e8a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 15 Jan 2019 14:42:05 -0800 Subject: math: Remove uhd::math::log2, replace with std::log2 Now that we're C++11, we can assume the existence of said symbol and need no more portability hacks. --- host/cmake/Modules/UHDGlobalDefs.cmake | 3 --- 1 file changed, 3 deletions(-) (limited to 'host/cmake/Modules') diff --git a/host/cmake/Modules/UHDGlobalDefs.cmake b/host/cmake/Modules/UHDGlobalDefs.cmake index 47bb83511..385679258 100644 --- a/host/cmake/Modules/UHDGlobalDefs.cmake +++ b/host/cmake/Modules/UHDGlobalDefs.cmake @@ -9,9 +9,6 @@ include(CheckCXXSymbolExistsCopy) -## Check for std::log2 -CHECK_CXX_SYMBOL_EXISTS(log2 cmath HAVE_LOG2) - ## Macros for the version number if(UHD_VERSION_DEVEL) math(EXPR UHD_VERSION_ADDED "1000000 * ${UHD_VERSION_MAJOR} + 10000 * ${UHD_VERSION_API} + 100 * ${UHD_VERSION_ABI} + 99") -- cgit v1.2.3