From 5fa62eb2d0148e72885aab2046e584078b60ae38 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 16 Dec 2019 17:22:37 +0000 Subject: [PATCH] backtrace stuff is glibc, not gnuc. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5589 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/sys_linux.c | 4 ++-- engine/server/sv_sys_unix.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/client/sys_linux.c b/engine/client/sys_linux.c index 66c350230..a918123b8 100644 --- a/engine/client/sys_linux.c +++ b/engine/client/sys_linux.c @@ -781,7 +781,7 @@ void *Sys_GetAddressForName(dllhandle_t *module, const char *exportname) // ======================================================================= //friendly way to crash, including stack traces. should help reduce gdb use. -#if defined(__linux__) && defined(__GNUC__) /*should probably be GNUC but whatever*/ +#if defined(__linux__) && defined(__GLIBC__) /*should probably be GNUC but whatever*/ #include #ifdef __i386__ #include @@ -987,7 +987,7 @@ int main (int c, const char **v) } #endif -#if defined(__linux__) && defined(__GNUC__) +#if defined(__linux__) && defined(__GLIBC__) if (!COM_CheckParm("-nodumpstack")) { struct sigaction act; diff --git a/engine/server/sv_sys_unix.c b/engine/server/sv_sys_unix.c index 33dd57a4c..d9ac8a956 100644 --- a/engine/server/sv_sys_unix.c +++ b/engine/server/sv_sys_unix.c @@ -647,7 +647,7 @@ void Sys_Shutdown (void) { } -#if defined(__linux__) && defined(__GNUC__) +#if defined(__linux__) && defined(__GLIBC__) #include #ifdef __i386__ #include @@ -937,7 +937,7 @@ int main(int argc, char *argv[]) -#if defined(__linux__) && defined(__GNUC__) +#if defined(__linux__) && defined(__GLIBC__) if (!COM_CheckParm("-nodumpstack")) { struct sigaction act;