From 03a4b6b64171a45eac4606c48e2ffb9979e5249f Mon Sep 17 00:00:00 2001 From: Oldes Date: Thu, 16 Dec 2021 21:54:49 +0100 Subject: [PATCH] FIX: make project compile able with Xcode v13.2 --- make/rebol3.nest | 1 + src/os/osx/sys-codecs.m | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/make/rebol3.nest b/make/rebol3.nest index efe94b7340..9a3ac7a9f7 100644 --- a/make/rebol3.nest +++ b/make/rebol3.nest @@ -656,6 +656,7 @@ common: [ defines: ENDIAN_LITTLE defines: USE_OLD_PIPE cflags: -Wno-pointer-sign + flag: -mmacosx-version-min=10.9 ] #if Linux? [ library: %m diff --git a/src/os/osx/sys-codecs.m b/src/os/osx/sys-codecs.m index fcc3d93105..f6fb43fa9c 100644 --- a/src/os/osx/sys-codecs.m +++ b/src/os/osx/sys-codecs.m @@ -27,6 +27,10 @@ ** ************************************************************************/ #include "sys-codecs.h" +#import +#import +#import +#import #define kSDUTTypeHEIC ((__bridge CFStringRef)@"public.heic") #define kSDUTTypeHEIF ((__bridge CFStringRef)@"public.heif") #define kSDUTTypeDDS ((__bridge CFStringRef)@"com.microsoft.dds")