From 5e16cd42ed6c0b626ee47601396517ddb8a6065f Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Tue, 6 Feb 2024 16:34:38 +1300 Subject: [PATCH 8/8] gold: Deal with absence of on macOS Add code to provide fallback definitions of char16_t/char32_t on macOS. --- gold/output.cc | 2 ++ gold/stringpool.cc | 2 ++ 2 files changed, 4 insertions(+) --- a/gold/output.cc +++ b/gold/output.cc @@ -29,7 +29,9 @@ #include #include #include +#if !defined(__APPLE__) #include +#endif #ifdef HAVE_SYS_MMAN_H #include --- a/gold/stringpool.cc +++ b/gold/stringpool.cc @@ -25,7 +25,9 @@ #include #include #include +#if !defined(__APPLE__) #include +#endif #include "output.h" #include "parameters.h"