backtrace: stubify on non-linux

This commit is contained in:
William Pitcock 2012-04-17 20:53:29 +00:00
parent b104665181
commit a64f128228
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#include <execinfo.h>
#include "atheme.h"
#ifdef __Linux__
#include <execinfo.h>
DECLARE_MODULE_V1
(
"contrib/backtrace", false, _modinit, _moddeinit,
@ -34,6 +36,7 @@ void _moddeinit(module_unload_intent_t intent)
{
signal(SIGSEGV, NULL);
}
#endif
/* vim:cinoptions=>s,e0,n0,f0,{0,}0,^0,=s,ps,t0,c3,+s,(2s,us,)20,*30,gs,hs
* vim:ts=8