AK: Bring back the AK_DONT_REPLACE_STD #define

This was removed in a910961f37 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

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