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:
parent
539fb08551
commit
1d533acbc0
6 changed files with 18 additions and 18 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue