From 4a9546a7c878f56504418a0fbbb8c539b75a5fb6 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Thu, 4 Apr 2024 13:55:48 -0600 Subject: [PATCH] AK: Add platform macro for Mach-based operating system environments --- AK/Platform.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AK/Platform.h b/AK/Platform.h index 435695227bf..49493682bb5 100644 --- a/AK/Platform.h +++ b/AK/Platform.h @@ -111,6 +111,10 @@ # define AK_OS_GNU_HURD #endif +#if defined(__MACH__) +# define AK_OS_MACH +#endif + #if defined(_WIN32) || defined(_WIN64) # define AK_OS_WINDOWS #endif