From 9994847ea324b96064d95f80bb6f8fec9635684f Mon Sep 17 00:00:00 2001 From: Mark Kim Date: Sun, 6 Feb 2022 21:26:21 -0500 Subject: [PATCH] small macOS cleanup - Need to use __MACOS__ instead of __APPLE__ when #including "macos.h". - Need to include "platform.h" for this to work. --- src/i18n.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/i18n.c b/src/i18n.c index 7354efc5d..d4ae03922 100644 --- a/src/i18n.c +++ b/src/i18n.c @@ -33,6 +33,7 @@ #include #include #include +#include "platform.h" #include "i18n.h" #include "debug.h" @@ -47,7 +48,7 @@ #include #endif -#if defined(__APPLE__) +#if defined(__MACOS__) #include "macos.h" #elif defined(__IOS__) #include "ios.h"