Skip to content

Commit ce24716

Browse files
committed
src: remove unused BITS_PER_LONG macro
Remove the unused and broken BITS_PER_LONG macro. Broken because x64 is the only 64 bits architecture where it produces the right result. PR-URL: #4290 Reviewed-By: Colin Ihrig <[email protected]>
1 parent 0b9c3a3 commit ce24716

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/node_internals.h

-6
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,6 @@ inline static int snprintf(char *buffer, size_t n, const char *format, ...) {
109109
#endif
110110
#endif
111111

112-
#if defined(__x86_64__)
113-
# define BITS_PER_LONG 64
114-
#else
115-
# define BITS_PER_LONG 32
116-
#endif
117-
118112
#ifndef ARRAY_SIZE
119113
# define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0]))
120114
#endif

0 commit comments

Comments
 (0)