mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
LibCore: Remove workarounds for system header global name conflicts
This commit is contained in:
parent
8082daaa3f
commit
d106b6eae2
Notes:
sideshowbarker
2024-07-18 23:46:17 +09:00
Author: https://github.com/ADKaster
Commit: d106b6eae2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/676
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/trflynn89 ✅
2 changed files with 2 additions and 10 deletions
|
@ -11,11 +11,7 @@
|
|||
static_assert(false, "This file must only be used for macOS");
|
||||
#endif
|
||||
|
||||
#define FixedPoint FixedPointMacOS
|
||||
#define Duration DurationMacOS
|
||||
#include <IOSurface/IOSurface.h>
|
||||
#undef FixedPoint
|
||||
#undef Duration
|
||||
#import <IOSurface/IOSurface.h>
|
||||
|
||||
namespace Core {
|
||||
|
||||
|
|
|
@ -7,11 +7,7 @@
|
|||
#include <AK/OwnPtr.h>
|
||||
#include <LibCore/MetalContext.h>
|
||||
|
||||
#define FixedPoint FixedPointMacOS
|
||||
#define Duration DurationMacOS
|
||||
#include <Metal/Metal.h>
|
||||
#undef FixedPoint
|
||||
#undef Duration
|
||||
#import <Metal/Metal.h>
|
||||
|
||||
namespace Core {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue