From 6c7f8b1b0713e7a64518f6a68971e24570c0ad99 Mon Sep 17 00:00:00 2001 From: Victor Diego Alejandro Diaz Urbaneja <49420637+sodomon2@users.noreply.github.com> Date: Mon, 30 Sep 2019 02:39:25 -0400 Subject: [PATCH] Making AlpineLinux Compatible --- neo/sys/posix/posix_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/sys/posix/posix_main.cpp b/neo/sys/posix/posix_main.cpp index 80b7745a..ab5eedd5 100644 --- a/neo/sys/posix/posix_main.cpp +++ b/neo/sys/posix/posix_main.cpp @@ -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