Skip to content

Commit

Permalink
ARM64: Fix Nintendo Switch build.
Browse files Browse the repository at this point in the history
Thanks to Eddie Edwards.
  • Loading branch information
Mike Pall committed Mar 20, 2017
1 parent 0cf7885 commit 779a1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
#endif
#elif LJ_TARGET_ARM64
#if __clang__
#if (__clang_major__ < 3) || ((__clang_major__ == 3) && __clang_minor__ < 5)
#if ((__clang_major__ < 3) || ((__clang_major__ == 3) && __clang_minor__ < 5)) && !defined(__NX_TOOLCHAIN_MAJOR__)
#error "Need at least Clang 3.5 or newer"
#endif
#else
Expand Down

0 comments on commit 779a1eb

Please sign in to comment.