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 <cjihrig@gmail.com>
  • Loading branch information
bnoordhuis committed Dec 15, 2015
1 parent 0b9c3a3 commit ce24716
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 ce24716

Please sign in to comment.