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

AK+Userland: Replace Linux, macOS, and *BSD macros with platform defines

We have such nice platform macros, let's clean up any remnants of manual
__my_platform__ macros in LibCore, LibCompress and AK.
This commit is contained in:
Andrew Kaster 2022-10-09 16:45:59 -06:00 committed by Linus Groh
parent 539fb08551
commit 1d533acbc0
6 changed files with 18 additions and 18 deletions

View file

@ -22,7 +22,7 @@
#endif
// On Linux distros that use glibc `basename` is defined as a macro that expands to `__xpg_basename`, so we undefine it
#if defined(__linux__) && defined(basename)
#if defined(AK_OS_LINUX) && defined(basename)
# undef basename
#endif