diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-11 16:19:36 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-11 16:19:36 +0000 |
commit | 9ec6602c9d3c1a8801d996aa3a56c779ce1c5f70 (patch) | |
tree | 5e545ff43b1e5890f0931c244a8b410eb036eb6c /src/headers/uint64-noulong64 | |
parent | 846cd5b2b12947753f5fd3f02c49f7d828fb763d (diff) | |
download | skalibs-9ec6602c9d3c1a8801d996aa3a56c779ce1c5f70.tar.xz |
bits-fmtscan refactor, part one
Diffstat (limited to 'src/headers/uint64-noulong64')
-rw-r--r-- | src/headers/uint64-noulong64 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/headers/uint64-noulong64 b/src/headers/uint64-noulong64 index 1a67c1d..fe61dda 100644 --- a/src/headers/uint64-noulong64 +++ b/src/headers/uint64-noulong64 @@ -1,3 +1,15 @@ typedef unsigned long long uint64_t ; +typedef signed long long int64_t ; +#ifndef INT64_MIN +# define INT64_MIN (-1-0x7fffffffffffffffll) +#endif + +#ifndef INT64_MAX +# define INT64_MAX 0x7fffffffffffffffll +#endif + +#ifndef UINT64_MAX +# define UINT64_MAX 0xffffffffffffffffull +#endif |