mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:47:44 +00:00
AK: Remove workaround for old macOS SDK
https://github.com/SerenityOS/serenity/pull/9716#issuecomment-1508606204 has details.
This commit is contained in:
parent
eae1e61a88
commit
afcbdad1e3
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue