Skip to content

Commit

Permalink
src: remove unused BITS_PER_LONG macro
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bnoordhuis authored and Myles Borins committed Mar 2, 2016
1 parent 2bae6d8 commit 37ff7c5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/node_internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,6 @@ inline static int snprintf(char *buffer, size_t n, const char *format, ...) {
#endif
#endif

#if defined(__x86_64__)
# define BITS_PER_LONG 64
#else
# define BITS_PER_LONG 32
#endif

#ifndef ARRAY_SIZE
# define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0]))
#endif
Expand Down

0 comments on commit 37ff7c5

Please sign in to comment.