diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:50 +0000 |
commit | def92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch) | |
tree | 2ef34b9ad8bb9a9220e05d60352558b15f513894 /media/libaom/0001-errno.patch | |
parent | Adding debian version 125.0.3-1. (diff) | |
download | firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'media/libaom/0001-errno.patch')
-rw-r--r-- | media/libaom/0001-errno.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media/libaom/0001-errno.patch b/media/libaom/0001-errno.patch new file mode 100644 index 0000000000..6040c42e38 --- /dev/null +++ b/media/libaom/0001-errno.patch @@ -0,0 +1,22 @@ +diff --git a/aom_util/aom_pthread.h b/aom/aom_util/aom_pthread.h +--- a/aom_util/aom_pthread.h ++++ b/aom_util/aom_pthread.h +@@ -30,16 +30,18 @@ extern "C" { + #define WIN32_LEAN_AND_MEAN + #include <process.h> // NOLINT + #include <stddef.h> // NOLINT + #include <windows.h> // NOLINT + typedef HANDLE pthread_t; + typedef int pthread_attr_t; + typedef CRITICAL_SECTION pthread_mutex_t; + ++#include <errno.h> ++ + #if _WIN32_WINNT < 0x0600 + #error _WIN32_WINNT must target Windows Vista / Server 2008 or newer. + #endif + typedef CONDITION_VARIABLE pthread_cond_t; + + #ifndef WINAPI_FAMILY_PARTITION + #define WINAPI_PARTITION_DESKTOP 1 + #define WINAPI_FAMILY_PARTITION(x) x |