mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +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
|
@ -12,7 +12,7 @@
|
|||
static void run_test(StringView const file_name)
|
||||
{
|
||||
// This makes sure that the tests will run both on target and in Lagom.
|
||||
#ifdef __serenity__
|
||||
#ifdef AK_OS_SERENITY
|
||||
String path = String::formatted("/usr/Tests/LibCompress/brotli-test-files/{}", file_name);
|
||||
#else
|
||||
String path = String::formatted("brotli-test-files/{}", file_name);
|
||||
|
@ -83,7 +83,7 @@ TEST_CASE(brotli_single_z)
|
|||
TEST_CASE(brotli_decompress_zero_one_bin)
|
||||
{
|
||||
// This makes sure that the tests will run both on target and in Lagom.
|
||||
#ifdef __serenity__
|
||||
#ifdef AK_OS_SERENITY
|
||||
String path = "/usr/Tests/LibCompress/brotli-test-files/zero-one.bin";
|
||||
#else
|
||||
String path = "brotli-test-files/zero-one.bin";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue