From b16996390944477e5c66fd9a0ee1bb948f3ca0af Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Sun, 18 Nov 2012 00:09:45 -0800 Subject: [PATCH] fixed FreeBSD support Signed-off-by: Leonardo de Moura --- src/util/scoped_timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/scoped_timer.cpp b/src/util/scoped_timer.cpp index 0fdb43b1f..5f9d554f9 100644 --- a/src/util/scoped_timer.cpp +++ b/src/util/scoped_timer.cpp @@ -126,7 +126,7 @@ struct scoped_timer::imp { throw default_exception("failed to destroy pthread condition variable"); return st; } -#elif defined(_LINUX_) +#elif defined(_LINUX_) || defined(_FREEBSD_) static void sig_handler(int) { static_cast(g_timer)->m_eh->operator()(); }