mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
AK: Bring back the AK_DONT_REPLACE_STD #define
This was removed in a910961f37d1da9dafb6385e348266746354cf98 in favour of the more general USING_AK_GLOBALLY #define, but Ladybird (and probably other projects) depend on the smaller hammer to include STL headers and keep the USING_AK_GLOBALLY behaviour, so put it back and preserve its behaviour.
This commit is contained in:
parent
16d4791212
commit
b367da592c
Notes:
sideshowbarker
2024-07-17 03:15:58 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/b367da592c Pull-request: https://github.com/SerenityOS/serenity/pull/16488
@ -34,7 +34,7 @@ requires(AK::Detail::IsIntegral<T>)
|
||||
|
||||
}
|
||||
|
||||
#if !USING_AK_GLOBALLY
|
||||
#if !USING_AK_GLOBALLY || defined(AK_DONT_REPLACE_STD)
|
||||
# define AK_REPLACED_STD_NAMESPACE AK::replaced_std
|
||||
#else
|
||||
# define AK_REPLACED_STD_NAMESPACE std
|
||||
|
Loading…
Reference in New Issue
Block a user