The signal number is not same on all devices. Unfortunately, calling sigaction()
is failed in the some device. This patch is to fix sigacation() failure issue.
Change-Id: Ifb469bcaf43d506f38902c71049f3f1a084eecfd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
#include "app-core-cpp/backtrace_private.hh"
#include "common/log_private.hh"
+#define SIGRTANR (SIGRTMIN + 3)
+
namespace tizen_cpp {
namespace internal {
-namespace {
-
-const int SIGRTANR = SIGRTMIN + 3;
-
-} // namespace
AnrMonitor::AnrMonitor() {
struct sigaction action;