Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit de7d72c

Browse files
aborodinzyv
authored andcommitted
src/vfs/tar/tar-internal.c: define UINTMAX_WIDTH.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
1 parent 2c76c23 commit de7d72c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vfs/tar/tar-internal.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545

4646
/*** file scope macro definitions ****************************************************************/
4747

48+
#ifndef UINTMAX_WIDTH
49+
#define UINTMAX_WIDTH (sizeof (uintmax_t) * CHAR_BIT)
50+
#endif
51+
4852
/* Log base 2 of common values. */
4953
#define LG_8 3
5054
#define LG_256 8

0 commit comments

Comments
 (0)