Making AlpineLinux Compatible

This commit is contained in:
Victor Diego Alejandro Diaz Urbaneja 2019-09-30 02:39:25 -04:00 committed by Daniel Gibson
parent 12fa28b260
commit 6c7f8b1b07

View file

@ -362,7 +362,7 @@ int Sys_GetDriveFreeSpace( const char *path ) {
static const int crashSigs[] = { SIGILL, SIGABRT, SIGFPE, SIGSEGV };
static const char* crashSigNames[] = { "SIGILL", "SIGABRT", "SIGFPE", "SIGSEGV" };
#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)
#if ( defined(__linux__) && defined(__GLIBC__) ) || defined(__FreeBSD__) || defined(__APPLE__)
// TODO: https://github.com/ianlancetaylor/libbacktrace looks interesting and also supports windows apparently
#define D3_HAVE_BACKTRACE
#include <execinfo.h>