From 25671b40d715a433900b87f9817b2c20eaf368ae Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Thu, 2 Nov 2017 19:48:48 +0000 Subject: native_log: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry llvm-svn: 317253 --- libclc/generic/include/clc/math/native_log.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libclc/generic/include/clc/math/native_log.h') diff --git a/libclc/generic/include/clc/math/native_log.h b/libclc/generic/include/clc/math/native_log.h index ed3398b9f9f..7ce23c7ecd6 100644 --- a/libclc/generic/include/clc/math/native_log.h +++ b/libclc/generic/include/clc/math/native_log.h @@ -20,8 +20,12 @@ * THE SOFTWARE. */ -#define __CLC_BODY +#define __CLC_BODY +#define __CLC_FUNCTION native_log #define __FLOAT_ONLY + #include -#undef __CLC_BODY + #undef __FLOAT_ONLY +#undef __CLC_BODY +#undef __CLC_FUNCTION -- cgit v1.2.3