small macOS cleanup

- Need to use __MACOS__ instead of __APPLE__ when #including "macos.h".
- Need to include "platform.h" for this to work.
This commit is contained in:
Mark Kim 2022-02-06 21:26:21 -05:00
parent e1ecf80e26
commit 9994847ea3

View file

@ -33,6 +33,7 @@
#include <string.h>
#include <libintl.h>
#include <locale.h>
#include "platform.h"
#include "i18n.h"
#include "debug.h"
@ -47,7 +48,7 @@
#include <wctype.h>
#endif
#if defined(__APPLE__)
#if defined(__MACOS__)
#include "macos.h"
#elif defined(__IOS__)
#include "ios.h"