summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_dawn_src_include_dawn__native_VulkanBackend.h
blob: eb2c1f59a6965c8fcac83b832e6ecf27a4a1bcad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/dawn/src/include/dawn_native/VulkanBackend.h.orig	2022-02-28 16:54:41 UTC
+++ third_party/dawn/src/include/dawn_native/VulkanBackend.h
@@ -69,7 +69,7 @@ namespace dawn::native::vulkan {
     };
 
 // Can't use DAWN_PLATFORM_LINUX since header included in both Dawn and Chrome
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__) || defined(__FreeBSD__)
 
         // Common properties of external images represented by FDs. On successful import the file
         // descriptor's ownership is transferred to the Dawn implementation and they shouldn't be