mirror of
https://github.com/Z3Prover/z3
synced 2025-06-05 21:53:23 +00:00
fixed FreeBSD support
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
1a3eb3a2ed
commit
b169963909
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ struct scoped_timer::imp {
|
||||||
throw default_exception("failed to destroy pthread condition variable");
|
throw default_exception("failed to destroy pthread condition variable");
|
||||||
return st;
|
return st;
|
||||||
}
|
}
|
||||||
#elif defined(_LINUX_)
|
#elif defined(_LINUX_) || defined(_FREEBSD_)
|
||||||
static void sig_handler(int) {
|
static void sig_handler(int) {
|
||||||
static_cast<imp*>(g_timer)->m_eh->operator()();
|
static_cast<imp*>(g_timer)->m_eh->operator()();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue