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

13 lines
607 B
Diff

diff '--color=auto' -uNr node-v17.8.0.orig/src/node_internals.h node-v17.8.0/src/node_internals.h
--- node-v17.8.0.orig/src/node_internals.h 2022-03-26 22:11:04.185459285 +0530
+++ node-v17.8.0/src/node_internals.h 2022-03-26 22:12:27.675459254 +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__)