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:
Ali Mohammad Pur 2022-12-14 15:21:48 +03:30 committed by Andreas Kling
parent 16d4791212
commit b367da592c
Notes: sideshowbarker 2024-07-17 03:15:58 +09:00

View File

@ -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