Skip to content

Commit 4b9d419

Browse files
srcmaketargos
authored andcommitted
src: lint #defines in src/node.h
A few #defines in src/node.h had inconsistent spacing and tabbing. This commit changes the spacing to be the same style as the rest of the project. PR-URL: #28547 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 9f6600a commit 4b9d419

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/node.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
#ifdef _WIN32
2626
# ifndef BUILDING_NODE_EXTENSION
27-
# define NODE_EXTERN __declspec(dllexport)
27+
# define NODE_EXTERN __declspec(dllexport)
2828
# else
29-
# define NODE_EXTERN __declspec(dllimport)
29+
# define NODE_EXTERN __declspec(dllimport)
3030
# endif
3131
#else
3232
# define NODE_EXTERN __attribute__((visibility("default")))
@@ -43,7 +43,7 @@
4343
// See issue https://github.com/nodejs/node-v0.x-archive/issues/1236
4444
#if defined(__MINGW32__) || defined(_MSC_VER)
4545
#ifndef _WIN32_WINNT
46-
# define _WIN32_WINNT 0x0600 // Windows Server 2008
46+
# define _WIN32_WINNT 0x0600 // Windows Server 2008
4747
#endif
4848

4949
#ifndef NOMINMAX
@@ -57,7 +57,7 @@
5757
#endif
5858

5959
#ifdef _WIN32
60-
# define SIGKILL 9
60+
# define SIGKILL 9
6161
#endif
6262

6363
#include "v8.h" // NOLINT(build/include_order)
@@ -184,8 +184,8 @@ NODE_DEPRECATED("Use MakeCallback(..., async_context)",
184184
#include <cstdint>
185185

186186
#ifndef NODE_STRINGIFY
187-
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
188-
#define NODE_STRINGIFY_HELPER(n) #n
187+
# define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
188+
# define NODE_STRINGIFY_HELPER(n) #n
189189
#endif
190190

191191
#ifdef _WIN32

0 commit comments

Comments
 (0)