From 2023fa68385606df33329c17c144dd5b44389fdc Mon Sep 17 00:00:00 2001 From: CGQAQ Date: Mon, 10 Jul 2023 04:55:07 +0000 Subject: [PATCH 1/2] src: node.h `signal.h` to `csignal` --- src/node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.h b/src/node.h index 846ec413f8e1fc..f3f19d844d0003 100644 --- a/src/node.h +++ b/src/node.h @@ -85,7 +85,7 @@ // We cannot use __POSIX__ in this header because that's only defined when // building Node.js. #ifndef _WIN32 -#include +#include #endif // _WIN32 #define NODE_MAKE_VERSION(major, minor, patch) \ From c58ab58e332c12e07f2ddb32437818936158a1ed Mon Sep 17 00:00:00 2001 From: CGQAQ Date: Mon, 10 Jul 2023 05:00:14 +0000 Subject: [PATCH 2/2] src: change comment as well --- src/node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.h b/src/node.h index f3f19d844d0003..6e0ee97fdcb7a4 100644 --- a/src/node.h +++ b/src/node.h @@ -86,7 +86,7 @@ // building Node.js. #ifndef _WIN32 #include -#endif // _WIN32 +#endif // !_WIN32 #define NODE_MAKE_VERSION(major, minor, patch) \ ((major) * 0x1000 + (minor) * 0x100 + (patch))