diff --git a/sol/function_types_templated.hpp b/sol/function_types_templated.hpp index 8c4ea77b..389c942e 100644 --- a/sol/function_types_templated.hpp +++ b/sol/function_types_templated.hpp @@ -105,7 +105,7 @@ namespace function_detail { template inline int c_call(lua_State* L) { -#ifdef __clang +#ifdef __clang__ return detail::trampoline(L, function_detail::call_wrapper_entry); #else return detail::static_trampoline<(&function_detail::call_wrapper_entry)>(L);