Cleanup some arch defines and fix builds.

This commit is contained in:
Mike Pall
2020-06-15 11:23:04 +02:00
parent d333b1a6fe
commit 34e53736c6
8 changed files with 31 additions and 17 deletions

View File

@@ -5548,7 +5548,7 @@ static void emit_asm_debug(BuildCtx *ctx)
".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
#endif
#if !LJ_NO_UNWIND
#if (defined(__sun__) && defined(__svr4__))
#if LJ_TARGET_SOLARIS
#if LJ_64
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@unwind\n");
#else