mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
00ed042eda
This additionally includes a patch from the current master branch, which fixes building with binutils 2.41 and newer.
25 lines
862 B
Diff
25 lines
862 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Peter Ross <pross@xvid.org>
|
|
Date: Tue, 1 Mar 2022 19:50:19 +1100
|
|
Subject: [PATCH] Assume that EDOM exists
|
|
|
|
Since errno values are not numeric constants on serenity, this won't
|
|
work in cpp, assume that it exists.
|
|
---
|
|
libavutil/error.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libavutil/error.h b/libavutil/error.h
|
|
index 0d3269aa6da136e849faa7f810ae36748659a2e0..a54d80d0f2d7be91e617cb0ed0640568bffdd693 100644
|
|
--- a/libavutil/error.h
|
|
+++ b/libavutil/error.h
|
|
@@ -37,7 +37,7 @@
|
|
|
|
|
|
/* error handling */
|
|
-#if EDOM > 0
|
|
+#if 1
|
|
#define AVERROR(e) (-(e)) ///< Returns a negative error code from a POSIX error code, to return from library functions.
|
|
#define AVUNERROR(e) (-(e)) ///< Returns a POSIX error code from a library function error return value.
|
|
#else
|