mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
AK: Stop exporting AK::Duration into the global namespace
This has conflicts with MacTypes.h from the Apple macOS SDKs, which becomes a huge problem when trying to interact with system clang modules
This commit is contained in:
parent
5ace53c96f
commit
bf600c8e1d
Notes:
sideshowbarker
2024-07-18 23:46:31 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/bf600c8e1d4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/676 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/trflynn89 ✅
3 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,6 @@ using AK::CountingStream;
|
|||
using AK::DeprecatedFlyString;
|
||||
using AK::DeprecatedStringCodePointIterator;
|
||||
using AK::DoublyLinkedList;
|
||||
using AK::Duration;
|
||||
using AK::Error;
|
||||
using AK::ErrorOr;
|
||||
using AK::FixedArray;
|
||||
|
|
|
@ -581,7 +581,6 @@ using AK::day_of_year;
|
|||
using AK::days_in_month;
|
||||
using AK::days_in_year;
|
||||
using AK::days_since_epoch;
|
||||
using AK::Duration;
|
||||
using AK::is_leap_year;
|
||||
using AK::MonotonicTime;
|
||||
using AK::seconds_since_epoch_to_year;
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#include <AK/Time.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
using AK::Duration;
|
||||
|
||||
#if defined(__TIMESIZE) && __TIMESIZE < 64
|
||||
# define TIME_T_IS_32BIT
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue