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 # undef PAGE_SIZE # define PAGE_SIZE sysconf(_SC_PAGESIZE) -# ifdef AK_OS_MACOS -} -# endif # endif #endif