termux-packages/packages/nodejs/src-node_internals.h.patch

13 lines
607 B
Diff

diff '--color=auto' -uNr node-v18.0.0.orig/src/node_internals.h node-v18.0.0/src/node_internals.h
--- node-v18.0.0.orig/src/node_internals.h 2022-04-21 15:15:47.251869784 +0530
+++ node-v18.0.0/src/node_internals.h 2022-04-21 15:47:59.017175066 +0530
@@ -281,7 +281,7 @@
// Functions defined in node.cc that are exposed via the bootstrapper object
-#if defined(__POSIX__) && !defined(__ANDROID__) && !defined(__CloudABI__)
+#if defined(__POSIX__) && !defined(__CloudABI__)
#define NODE_IMPLEMENTS_POSIX_CREDENTIALS 1
#endif // defined(__POSIX__) && !defined(__ANDROID__) && !defined(__CloudABI__)