Index: compiler-rt/trunk/lib/interception/interception.h =================================================================== --- compiler-rt/trunk/lib/interception/interception.h +++ compiler-rt/trunk/lib/interception/interception.h @@ -170,7 +170,7 @@ #elif !SANITIZER_MAC # define PTR_TO_REAL(x) real_##x # define REAL(x) __interception::PTR_TO_REAL(x) -# define FUNC_TYPE(x) x##_f +# define FUNC_TYPE(x) x##_type # define DECLARE_REAL(ret_type, func, ...) \ typedef ret_type (*FUNC_TYPE(func))(__VA_ARGS__); \ Index: compiler-rt/trunk/lib/interception/interception_linux.h =================================================================== --- compiler-rt/trunk/lib/interception/interception_linux.h +++ compiler-rt/trunk/lib/interception/interception_linux.h @@ -38,7 +38,7 @@ // Android, Solaris and OpenBSD do not have dlvsym #if !SANITIZER_ANDROID && !SANITIZER_SOLARIS && !SANITIZER_OPENBSD #define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver) \ - (::__interception::real_##func = (func##_f)( \ + (::__interception::real_##func = (func##_type)( \ unsigned long)::__interception::GetFuncAddrVer(#func, symver)) #else #define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver) \