1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

Ports: Add libuv

We've had a half-arsed port of libuv inside the cmake port, but let's
just port it properly.
Note that this pins a specific commit (which is currently the latest
commit in their default branch).
This commit is contained in:
Ali Mohammad Pur 2021-07-09 06:29:58 +04:30 committed by Andreas Kling
parent 727403746f
commit fcd56f2172
9 changed files with 483 additions and 0 deletions

View file

@ -0,0 +1,25 @@
From b9992fdc37570ae7ca15b50c37ef431289cdc497 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Fri, 9 Jul 2021 05:02:01 +0430
Subject: [PATCH 6/7] include: Teach the header about serenity
---
include/uv/unix.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uv/unix.h b/include/uv/unix.h
index e3cf7bd..35f1433 100644
--- a/include/uv/unix.h
+++ b/include/uv/unix.h
@@ -71,6 +71,8 @@
# include "uv/posix.h"
#elif defined(__QNX__)
# include "uv/posix.h"
+#elif defined(__serenity__)
+# include "uv/posix.h"
#endif
#ifndef NI_MAXHOST
--
2.32.0