add ArchHooks_Unix
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#include "global.h"
|
||||
#include "ArchHooks_Unix.h"
|
||||
#include "archutils/Unix/SignalHandler.h"
|
||||
|
||||
#if defined(HAVE_BACKTRACE)
|
||||
#include "archutils/Unix/CrashHandler.h"
|
||||
#endif
|
||||
|
||||
ArchHooks_Unix::ArchHooks_Unix()
|
||||
{
|
||||
#if defined(HAVE_BACKTRACE)
|
||||
CrashHandlerHandleArgs();
|
||||
|
||||
SignalHandler::OnClose( CrashSignalHandler );
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003 by the person(s) listed below. All rights reserved.
|
||||
*
|
||||
* Glenn Maynard
|
||||
*/
|
||||
@@ -0,0 +1,19 @@
|
||||
#ifndef ARCH_HOOKS_UNIX_H
|
||||
#define ARCH_HOOKS_UNIX_H
|
||||
|
||||
#include "ArchHooks.h"
|
||||
class ArchHooks_Unix: public ArchHooks
|
||||
{
|
||||
public:
|
||||
ArchHooks_Unix();
|
||||
};
|
||||
|
||||
#undef ARCH_HOOKS
|
||||
#define ARCH_HOOKS ArchHooks_Unix
|
||||
|
||||
#endif
|
||||
/*
|
||||
* Copyright (c) 2003 by the person(s) listed below. All rights reserved.
|
||||
*
|
||||
* Glenn Maynard
|
||||
*/
|
||||
Reference in New Issue
Block a user