diff options
-rw-r--r-- | src/sim/host.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sim/host.hh b/src/sim/host.hh index 518873ab3..dd29534fd 100644 --- a/src/sim/host.hh +++ b/src/sim/host.hh @@ -38,8 +38,6 @@ #define __HOST_HH__ #include <inttypes.h> -#include <limits> - /** uint64_t constant */ #define ULL(N) ((uint64_t)N##ULL) @@ -58,7 +56,7 @@ typedef int64_t Counter; */ typedef int64_t Tick; -const Tick MaxTick = std::numeric_limits<Tick>::max(); +const Tick MaxTick = LL(0x7fffffffffffffff); /** * Address type |