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

13 lines
611 B
Diff

diff '--color=auto' -uNr node-v16.14.2.orig/src/node_internals.h node-v16.14.2/src/node_internals.h
--- node-v16.14.2.orig/src/node_internals.h 2022-03-18 15:06:23.951091188 +0530
+++ node-v16.14.2/src/node_internals.h 2022-03-18 15:08:53.321091131 +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__)