Commit c5cf90a9 authored by Kenton Varda's avatar Kenton Varda

Tweak to build on Android. Fixes #100.

parent 6ca992b3
......@@ -29,7 +29,7 @@
#include <stdlib.h>
#include <exception>
#if __linux__ || __APPLE__
#if (__linux__ && !__ANDROID__) || __APPLE__
#define KJ_HAS_BACKTRACE 1
#include <execinfo.h>
#endif
......
......@@ -56,7 +56,7 @@ void TopLevelProcessContext::exit() {
throw CleanShutdownException { exitCode };
#endif
}
_Exit(exitCode);
_exit(exitCode);
}
static void writeLineToFd(int fd, StringPtr message) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment