3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00

replace by int64_t and uint64_t

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-04-06 19:32:01 -07:00
parent 3b78bdc8e5
commit cfd9785025

View file

@ -24,19 +24,22 @@ Revision History:
#include<iostream>
#include<climits>
#include<limits>
#include<stdint.h>
#ifndef SIZE_MAX
#define SIZE_MAX std::numeric_limits<std::size_t>::max()
#endif
#undef uint64
#ifndef uint64
typedef unsigned long long uint64;
typedef uint64_t uint64;
#endif
static_assert(sizeof(uint64) == 8, "64 bits please");
#undef int64
#ifndef int64
typedef long long int64;
typedef int64_t int64;
#endif
static_assert(sizeof(int64) == 8, "64 bits");