diff --git a/src/log.h b/src/log.h index d539dbc..54020c2 100644 --- a/src/log.h +++ b/src/log.h @@ -46,8 +46,8 @@ namespace _ { return static_alloc_str_impl(str, std::make_integer_sequence()); } } -#define __FILE_BASE__ (_::static_alloc_str<_::static_strlen(_::static_basename(__FILE__))>(_::static_basename(__FILE__)).buf) - +#define __FILE_BASE__ (::_::static_alloc_str<::_::static_strlen(::_::static_basename(__FILE__))>\ + (::_::static_basename(__FILE__)).buf) // Provide alternative implementations to those from kj/debug.h which // use __FILE__ directly and thus cause the full path to be encoded in