aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_dawn_src_dawn_common_Platform.h
blob: 5a3b25383d0f74a00cb1a7f7cc6e266b8223bb74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- third_party/dawn/src/dawn/common/Platform.h.orig	2022-06-17 14:20:10 UTC
+++ third_party/dawn/src/dawn/common/Platform.h
@@ -26,6 +26,11 @@
 #error "Unsupported Windows platform."
 #endif
 
+#elif defined(__OpenBSD__) || defined(__FreeBSD__)
+#    define DAWN_PLATFORM_BSD 1
+#    define DAWN_PLATFORM_LINUX 1
+#    define DAWN_PLATFORM_POSIX 1
+
 #elif defined(__linux__)
 #define DAWN_PLATFORM_LINUX 1
 #define DAWN_PLATFORM_POSIX 1