aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_dawn_src_common_Platform.h
blob: 94b318f64a4e083f7e15112d2c5b2e4657acbc7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- third_party/dawn/src/common/Platform.h.orig	2021-06-11 10:04:56 UTC
+++ third_party/dawn/src/common/Platform.h
@@ -45,6 +45,11 @@
 #    define DAWN_PLATFORM_EMSCRIPTEN 1
 #    define DAWN_PLATFORM_POSIX 1
 
+#elif defined(__FreeBSD__)
+#    define DAWN_PLATFORM_FREEBSD 1
+#    define DAWN_PLATFORM_LINUX 1
+#    define DAWN_PLATFORM_POSIX 1
+
 #else
 #    error "Unsupported platform."
 #endif