diff --git a/engine/client/sys_linux.c b/engine/client/sys_linux.c index 66c35023..a918123b 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 33dd57a4..d9ac8a95 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;