mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
AK: Add platform macro for Mach-based operating system environments
This commit is contained in:
parent
870a954e11
commit
4a9546a7c8
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue