summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-third__party_dawn_src_dawn_common_Platform.h
blob: 553f4c2009150871aa0709a055aa0665e1b68b03 (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	2023-12-23 12:33:28 UTC
+++ third_party/dawn/src/dawn/common/Platform.h
@@ -59,6 +59,11 @@
 #error "Unsupported Windows platform."
 #endif
 
+#elif defined(__OpenBSD__) || defined(__FreeBSD__)
+#define DAWN_PLATFORM_IS_LINUX 1
+#define DAWN_PLATFORM_IS_BSD 1
+#define DAWN_PLATFORM_IS_POSIX 1
+
 #elif defined(__linux__)
 #define DAWN_PLATFORM_IS_LINUX 1
 #define DAWN_PLATFORM_IS_POSIX 1