Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
fix tls: avoid problematic ASM code only triggered by x86 NDK builds
Browse files Browse the repository at this point in the history
  • Loading branch information
osm0sis authored and topjohnwu committed Apr 30, 2019
1 parent 1dd2685 commit 2b8b3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion networking/tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#undef USE_SEED
/* pstm: multiprecision numbers */
#undef DISABLE_PSTM
#if defined(__GNUC__) && defined(__i386__)
#if defined(__GNUC__) && defined(__i386__) && !defined(__ANDROID__)
/* PSTM_X86 works correctly. +25 bytes. */
# define PSTM_32BIT
# define PSTM_X86
Expand Down

0 comments on commit 2b8b3cb

Please sign in to comment.