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

13 lines
607 B
Diff

diff '--color=auto' -uNr node-v17.7.1.orig/src/node_internals.h node-v17.7.1/src/node_internals.h
--- node-v17.7.1.orig/src/node_internals.h 2022-03-11 20:20:45.097755316 +0530
+++ node-v17.7.1/src/node_internals.h 2022-03-11 20:26:16.297755190 +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__)