]> granicus.if.org Git - pdns/commitdiff
Change ifdef to check for __GLIBC__ instead of __linux__ to prevent errors with other...
authorJames Taylor <james@jtaylor.id.au>
Wed, 17 Dec 2014 08:14:34 +0000 (08:14 +0000)
committerJames Taylor <james@jtaylor.id.au>
Wed, 17 Dec 2014 08:14:34 +0000 (08:14 +0000)
pdns/receiver.cc

index c8f3341739154c1f4f1c912a016d4ee8dc766736..eb82ff8be8c8cd408e186877b4c10bc7814a2793 100644 (file)
@@ -373,7 +373,7 @@ static void loadModules()
   }
 }
 
-#ifdef __linux__
+#ifdef __GLIBC__
 #include <execinfo.h>
 static void tbhandler(int num)
 {