| Index: src/platform-linux.cc
|
| diff --git a/src/platform-linux.cc b/src/platform-linux.cc
|
| index 4e2017d0936ad971a0718da2d132b11e6ce78d6e..b35cd2845499180134e79170b42f36e42ff21ff7 100644
|
| --- a/src/platform-linux.cc
|
| +++ b/src/platform-linux.cc
|
| @@ -25,8 +25,8 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Platform specific code for Linux goes here. For the POSIX comaptible parts
|
| -// the implementation is in platform-posix.cc.
|
| +// Platform-specific code for Linux goes here. For the POSIX-compatible
|
| +// parts, the implementation is in platform-posix.cc.
|
|
|
| #include <pthread.h>
|
| #include <semaphore.h>
|
| @@ -53,7 +53,8 @@
|
| // GLibc on ARM defines mcontext_t has a typedef for 'struct sigcontext'.
|
| // Old versions of the C library <signal.h> didn't define the type.
|
| #if defined(__ANDROID__) && !defined(__BIONIC_HAVE_UCONTEXT_T) && \
|
| - defined(__arm__) && !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT)
|
| + (defined(__arm__) || defined(__aarch64__)) && \
|
| + !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT)
|
| #include <asm/sigcontext.h>
|
| #endif
|
|
|
|
|