From d36e2ca50f18697a93e8b82f9d7c8f05e2cefe27 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 25 May 2024 21:29:56 +1000 Subject: [PATCH] Test 32 bit --- .github/workflows/build_mac32.yml | 1 + src/interop_cocoa.m | 18 +----------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build_mac32.yml b/.github/workflows/build_mac32.yml index 5092cd6..da4dce1 100644 --- a/.github/workflows/build_mac32.yml +++ b/.github/workflows/build_mac32.yml @@ -18,6 +18,7 @@ jobs: COMMON_FLAGS: "-O1 -s -fno-stack-protector -fno-math-errno -Qn" MAC64_FLAGS: "-fvisibility=hidden -rdynamic -DCC_BUILD_ICON -arch i386" run: | + xcode-select --switch /Applications/Xcode_13.1.app LATEST_FLAG=-DCC_COMMIT_SHA=\"$(git rev-parse --short "$GITHUB_SHA")\" cd src diff --git a/src/interop_cocoa.m b/src/interop_cocoa.m index 647445d..7df9606 100644 --- a/src/interop_cocoa.m +++ b/src/interop_cocoa.m @@ -6,23 +6,7 @@ #include "String.h" #include "Options.h" #import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import +#import #include static int windowX, windowY;