diff --git a/deps/ox/src/ox/std/stacktrace.cpp b/deps/ox/src/ox/std/stacktrace.cpp index d94a5236..9dc1f387 100644 --- a/deps/ox/src/ox/std/stacktrace.cpp +++ b/deps/ox/src/ox/std/stacktrace.cpp @@ -9,7 +9,7 @@ #if defined(OX_USE_STDLIB) && __has_include() #include -#if __has_include_next() +#if __has_include() #include #include #endif @@ -32,7 +32,7 @@ static auto symbolicate([[maybe_unused]]char **frames, [[maybe_unused]]const char *linePrefix) { using StrT = BasicString<100>; Vector out; -#if __has_include() && __has_include_next() +#if __has_include() && __has_include() for (auto i = 0u; i < symbolsLen; ++i) { Dl_info info; if (dladdr(frames[i], &info) && info.dli_sname) { @@ -51,7 +51,7 @@ static auto symbolicate([[maybe_unused]]char **frames, #endif // defined(OX_USE_STDLIB) && __has_include() void printStackTrace([[maybe_unused]]unsigned shave) noexcept { -#if defined(OX_USE_STDLIB) && __has_include() && __has_include_next() +#if defined(OX_USE_STDLIB) && __has_include() && __has_include() constexpr auto FrameCnt = 100; Vector frames(FrameCnt); frames.resize(static_cast(backtrace(frames.data(), static_cast(frames.size()))));