Fix backtrace not being used

This commit is contained in:
UnknownShadow200 2025-02-23 07:43:19 +11:00
parent 62caadf4c3
commit 1296a7edea

View File

@ -433,7 +433,7 @@ void Logger_Backtrace(cc_string* trace, void* ctx) {
} }
#elif defined CC_BACKTRACE_BUILTIN #elif defined CC_BACKTRACE_BUILTIN
/* Implemented later at end of the file */ /* Implemented later at end of the file */
#elif defined CC_BUILD_POSIX && (defined _GLIBC_ || defined CC_BUILD_OPENBSD) #elif defined CC_BUILD_POSIX && (defined __GLIBC__ || defined CC_BUILD_OPENBSD)
#include <execinfo.h> #include <execinfo.h>
void Logger_Backtrace(cc_string* trace, void* ctx) { void Logger_Backtrace(cc_string* trace, void* ctx) {