From b174d5e66d103515aa88b1ecaf1cc03fe5af5ea4 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 11 Sep 2023 13:10:17 +0200 Subject: [PATCH] Fix Cygwin build. Thanks to Christopher Ng. #1077 #1078 --- src/host/buildvm_peobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/buildvm_peobj.c b/src/host/buildvm_peobj.c index e3e1026e..fc3ef71a 100644 --- a/src/host/buildvm_peobj.c +++ b/src/host/buildvm_peobj.c @@ -9,7 +9,7 @@ #include "buildvm.h" #include "lj_bc.h" -#if LJ_TARGET_WINDOWS +#if LJ_TARGET_WINDOWS || LJ_TARGET_CYGWIN /* Context for PE object emitter. */ static char *strtab;