Make debug code work on darwin.
This commit is contained in:
parent
37d42d300b
commit
fed650036d
@ -38,6 +38,7 @@
|
|||||||
# include <unistd.h> // getpid
|
# include <unistd.h> // getpid
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# include <sys/sysctl.h> // sysctl
|
# include <sys/sysctl.h> // sysctl
|
||||||
|
# include <ucontext.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdexcept> // std::runtime_error
|
#include <stdexcept> // std::runtime_error
|
||||||
|
Loading…
Reference in New Issue
Block a user