blob: eb3a113089bc5c984f00662e1807aa020199d302 (
plain) (
tree)
|
|
--- third_party/dawn/src/dawn/common/Platform.h.orig 2022-03-25 21:59:56 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
|