AK: Add platform macro for Mach-based operating system environments

This commit is contained in:
Andrew Kaster 2024-04-04 13:55:48 -06:00 committed by Andrew Kaster
parent 870a954e11
commit 4a9546a7c8

View file

@ -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