diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-10-07 22:06:29 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-10-07 22:06:29 +0200 |
commit | 70a7537584889cf612ddea83eb65fd42818f6e5e (patch) | |
tree | 7d84990995b5d3163b193078058736a46d62b089 /bigint.h | |
parent | 241518f369efce64046be36a15fcb722b00e9477 (diff) |
Make code work on Linux and older compilers
Diffstat (limited to 'bigint.h')
-rw-r--r-- | bigint.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8,10 +8,10 @@ class Bigint{ public: - using digit_t=uint32_t; - using sdigit_t=int32_t; - using longdigit_t=uint64_t; - using slongdigit_t=int64_t; + typedef uint32_t digit_t; + typedef int32_t sdigit_t; + typedef uint64_t longdigit_t; + typedef int64_t slongdigit_t; static const int digit_bits=8*sizeof(digit_t); private: |