mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 19:47:52 +00:00
Add support for NetBSD
Originally from David Holland <dholland@NetBSD.org>.
This commit is contained in:
parent
5651d00751
commit
5f7bd993de
4 changed files with 33 additions and 10 deletions
|
@ -134,6 +134,11 @@ public:
|
|||
|
||||
#include<ctime>
|
||||
|
||||
#ifndef CLOCK_PROCESS_CPUTIME_ID
|
||||
/* BSD */
|
||||
# define CLOCK_PROCESS_CPUTIME_ID CLOCK_MONOTONIC
|
||||
#endif
|
||||
|
||||
class stopwatch {
|
||||
unsigned long long m_time; // elapsed time in ns
|
||||
bool m_running;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue