1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 13:57:34 +00:00

AK: Actually don't include <unistd.h> for windows in Platform.h

I got the conditions wrong last time, oops :^)
This commit is contained in:
Ali Mohammad Pur 2022-12-12 19:57:01 +03:30 committed by Linus Groh
parent 21647b9a4e
commit d987ddc0ee

View file

@ -173,7 +173,8 @@
# define PAGE_SIZE 4096
// On macOS (at least Mojave), Apple's version of this header is not wrapped
// in extern "C".
# elif defined(AK_OS_MACOS)
# else
# if defined(AK_OS_MACOS)
extern "C" {
# endif
# include <unistd.h>
@ -182,6 +183,7 @@ extern "C" {
# ifdef AK_OS_MACOS
}
# endif
# endif
#endif
#if defined(AK_OS_WINDOWS)