mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:37:45 +00:00
Everywhere: Replace uses of __serenity__ with AK_OS_SERENITY
Now that we have OS macros for essentially every supported OS, let's try to use them everywhere.
This commit is contained in:
parent
896d4e8dc1
commit
828441852f
46 changed files with 118 additions and 113 deletions
|
@ -15,9 +15,9 @@ namespace GPU {
|
|||
// FIXME: Think of a better way to configure these paths. Maybe use ConfigServer?
|
||||
static HashMap<String, String> const s_driver_path_map
|
||||
{
|
||||
#if defined(__serenity__)
|
||||
#if defined(AK_OS_SERENITY)
|
||||
{ "softgpu", "libsoftgpu.so.serenity" },
|
||||
#elif defined(__APPLE__)
|
||||
#elif defined(AK_OS_MACOS)
|
||||
{ "softgpu", "liblagom-softgpu.dylib" },
|
||||
#else
|
||||
{ "softgpu", "liblagom-softgpu.so.0" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue