mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 00:56:40 -04:00
Fix backtrace not being used
This commit is contained in:
parent
62caadf4c3
commit
1296a7edea
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user