mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 21:34:18 +08:00
liburcu: Fix compilation on Redox OS
This commit is contained in:
parent
6d88695a22
commit
bf6da7ccf9
25
recipes/libs/liburcu/0001-Fix-compilation-on-Redox-OS.patch
Normal file
25
recipes/libs/liburcu/0001-Fix-compilation-on-Redox-OS.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
|
||||
Date: Sat, 6 Dec 2025 15:59:20 +0100
|
||||
Subject: [PATCH] Fix compilation on Redox OS
|
||||
|
||||
---
|
||||
include/urcu/syscall-compat.h | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/urcu/syscall-compat.h b/include/urcu/syscall-compat.h
|
||||
index 23b266e..2c3b03f 100644
|
||||
--- a/include/urcu/syscall-compat.h
|
||||
+++ b/include/urcu/syscall-compat.h
|
||||
@@ -33,7 +33,8 @@
|
||||
#include <syscall.h>
|
||||
|
||||
#elif defined(__CYGWIN__) || defined(__APPLE__) || \
|
||||
- defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
+ defined(__FreeBSD__) || defined(__DragonFly__) || \
|
||||
+ defined(__redox__)
|
||||
/* Don't include anything on these platforms. */
|
||||
|
||||
#else
|
||||
--
|
||||
2.47.3
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#TODO can't configure pthread support
|
||||
[source]
|
||||
tar = "https://lttng.org/files/urcu/userspace-rcu-0.14.0.tar.bz2"
|
||||
patches = ["0001-Fix-compilation-on-Redox-OS.patch"]
|
||||
|
||||
[build]
|
||||
template = "configure"
|
||||
Loading…
Reference in New Issue
Block a user