diff options
author | Nico Weber <thakis@chromium.org> | 2023-04-14 11:01:33 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-14 19:15:42 +0200 |
commit | afcbdad1e3cf07b811ae7aa74a682ced1dbd84a1 (patch) | |
tree | 2b63e362a6a4c601f869abf06dc87ca3afd9a673 /AK | |
parent | eae1e61a88567cdc373bfbbe6ca1297381c9d9e6 (diff) | |
download | serenity-afcbdad1e3cf07b811ae7aa74a682ced1dbd84a1.zip |
AK: Remove workaround for old macOS SDK
https://github.com/SerenityOS/serenity/pull/9716#issuecomment-1508606204
has details.
Diffstat (limited to 'AK')
-rw-r--r-- | AK/Platform.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/AK/Platform.h b/AK/Platform.h index d0d1ffbd0e..940de32e3d 100644 --- a/AK/Platform.h +++ b/AK/Platform.h @@ -178,18 +178,10 @@ # ifdef AK_OS_WINDOWS // FIXME: No idea where to get this, but it's 4096 anyway :^) # define PAGE_SIZE 4096 -// On macOS (at least Mojave), Apple's version of this header is not wrapped -// in extern "C". # else -# if defined(AK_OS_MACOS) -extern "C" { -# endif # include <unistd.h> # undef PAGE_SIZE # define PAGE_SIZE sysconf(_SC_PAGESIZE) -# ifdef AK_OS_MACOS -} -# endif # endif #endif |