summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal_binding/uv.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/internal_binding/uv.ts')
-rw-r--r--ext/node/polyfills/internal_binding/uv.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/node/polyfills/internal_binding/uv.ts b/ext/node/polyfills/internal_binding/uv.ts
index 08315b094..aa468a0a5 100644
--- a/ext/node/polyfills/internal_binding/uv.ts
+++ b/ext/node/polyfills/internal_binding/uv.ts
@@ -494,6 +494,8 @@ export const errorMap = new Map<number, [string, string]>(
? codeToErrorDarwin
: osType === "linux"
? codeToErrorLinux
+ : osType === "android"
+ ? codeToErrorLinux
: osType === "freebsd"
? codeToErrorFreebsd
: osType === "openbsd"
@@ -508,6 +510,8 @@ export const codeMap = new Map<string, number>(
? errorToCodeDarwin
: osType === "linux"
? errorToCodeLinux
+ : osType === "android"
+ ? errorToCodeLinux
: osType === "freebsd"
? errorToCodeFreebsd
: osType === "openbsd"