Permalink
Browse files

Change ifdef to check for __GLIBC__ instead of __linux__ to prevent e…

…rrors with other libc's

(cherry picked from commit 1a61508)
  • Loading branch information...
1 parent 27aa8de commit dd943dde8c7260db9f3bd4b4268c762a7531ad71 @James-TR James-TR committed Dec 17, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 pdns/receiver.cc
View
@@ -373,7 +373,7 @@ static void loadModules()
}
}
-#ifdef __linux__
+#ifdef __GLIBC__
#include <execinfo.h>
static void tbhandler(int num)
{

0 comments on commit dd943dd

Please sign in to comment.