diff options
author | Paul Smith <psmith@gnu.org> | 2013-04-28 17:31:46 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-04-28 17:31:46 -0400 |
commit | 8b034b7d18a08d3a2378e5b6fc9fbdd1b658f142 (patch) | |
tree | 6e30929c6b4e65c68fb7b81faf1d48035cb605ec /makeint.h | |
parent | 93843ccd08a8d4dff64c5fb52701e150b35c959d (diff) | |
download | gunmake-8b034b7d18a08d3a2378e5b6fc9fbdd1b658f142.tar.gz |
Small cleanups and fixes.
Diffstat (limited to 'makeint.h')
-rw-r--r-- | makeint.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -168,6 +168,9 @@ unsigned int get_path_max (void); (! INTEGER_TYPE_SIGNED (t) ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)) #define INTEGER_TYPE_MAXIMUM(t) (~ (t) 0 - INTEGER_TYPE_MINIMUM (t)) +/* The maximum number of digits needed to represent the largest integer. */ +#define INTEGER_LENGTH sizeof("18446744073709551616") + #ifndef CHAR_MAX # define CHAR_MAX INTEGER_TYPE_MAXIMUM (char) #endif |