Skip to content

Commit

Permalink
src/vfs/tar/tar-internal.c: define UINTMAX_WIDTH.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
aborodin authored and zyv committed Oct 17, 2024
1 parent 2c76c23 commit de7d72c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vfs/tar/tar-internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@

/*** file scope macro definitions ****************************************************************/

#ifndef UINTMAX_WIDTH
#define UINTMAX_WIDTH (sizeof (uintmax_t) * CHAR_BIT)
#endif

/* Log base 2 of common values. */
#define LG_8 3
#define LG_256 8
Expand Down

0 comments on commit de7d72c

Please sign in to comment.