diff options
Diffstat (limited to 'www/webkit2-gtk4/files/patch-Source_WebCore_platform_PlatformScreen.h')
-rw-r--r-- | www/webkit2-gtk4/files/patch-Source_WebCore_platform_PlatformScreen.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/www/webkit2-gtk4/files/patch-Source_WebCore_platform_PlatformScreen.h b/www/webkit2-gtk4/files/patch-Source_WebCore_platform_PlatformScreen.h deleted file mode 100644 index d5a4da093b36..000000000000 --- a/www/webkit2-gtk4/files/patch-Source_WebCore_platform_PlatformScreen.h +++ /dev/null @@ -1,15 +0,0 @@ ---- Source/WebCore/platform/PlatformScreen.h.orig 2021-10-21 08:52:09 UTC -+++ Source/WebCore/platform/PlatformScreen.h -@@ -48,6 +48,12 @@ OBJC_CLASS UIScreen; - typedef struct CGColorSpace *CGColorSpaceRef; - #endif - -+// X11 headers define a bunch of macros with common terms, interfering with WebCore and WTF enum values. -+// As a workaround, we explicitly undef them here. -+#if defined(None) -+#undef None -+#endif -+ - namespace WebCore { - - class DestinationColorSpace; |