1 --- third_party/angle/src/common/platform.h.orig 2022-02-07 13:39:41 UTC 2 +++ third_party/angle/src/common/platform.h 3 @@ -26,7 +26,15 @@ 4 #elif defined(__linux__) || defined(EMSCRIPTEN) 5 # define ANGLE_PLATFORM_LINUX 1 6 # define ANGLE_PLATFORM_POSIX 1 7 -#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ 8 +#elif defined(__OpenBSD__) 9 +# define ANGLE_PLATFORM_OPENBSD 1 10 +# define ANGLE_PLATFORM_POSIX 1 11 +# define ANGLE_PLATFORM_BSD 1 12 +#elif defined(__FreeBSD__) 13 +# define ANGLE_PLATFORM_FREEBSD 1 14 +# define ANGLE_PLATFORM_POSIX 1 15 +# define ANGLE_PLATFORM_BSD 1 16 +#elif defined(__NetBSD__) || \ 17 defined(__DragonFly__) || defined(__sun) || defined(__GLIBC__) || defined(__GNU__) || \ 18 defined(__QNX__) || defined(__Fuchsia__) || defined(__HAIKU__) 19 # define ANGLE_PLATFORM_POSIX 1 20