Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce24716

Browse filesBrowse 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 <cjihrig@gmail.com>
1 parent 0b9c3a3 commit ce24716
Copy full SHA for ce24716

File tree

Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed
Open diff view settings
Collapse file

‎src/node_internals.h‎

Copy file name to clipboardExpand all lines: src/node_internals.h
-6Lines changed: 0 additions & 6 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.