don't use execinfo for backtraces on musl

This commit is contained in:
AAGaming 2024-04-27 14:11:41 -04:00
parent 2eae5b2ef6
commit e523fe0323
No known key found for this signature in database
GPG key ID: 00CFCD925A3E0C50

View file

@ -134,7 +134,7 @@ typedef LPVOID (WINAPI *p_MapViewOfFile) (HANDLE, DWORD, DWORD, DWORD, SIZE_T);
#include <errno.h>
#endif
#if defined (__unix__) || defined(__APPLE__) || defined (UNIXCOMMON)
#if (defined(__linux__) && defined(__USE_GNU)) || (defined (__unix__) || defined (UNIXCOMMON)) && !defined(__linux__) || defined(__APPLE__)
#include <execinfo.h>
#include <time.h>
#define UNIXBACKTRACE