Skip to content

Commit

Permalink
Once more: #define register /* nothing */
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe committed Jan 15, 2024
1 parent 9c19864 commit 5b88761
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions external/zlib/trees.c
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,9 @@ local unsigned bi_reverse(
unsigned code, /* the value to invert */
int len) /* its bit length */
{
#define register
/* [scouten 2024-01-15]: C++ 17 doesn't allow register storage class */

register unsigned res = 0;
do {
res |= code & 1;
Expand Down

0 comments on commit 5b88761

Please sign in to comment.