eventq: I'm sick of the warning about MaxTick being unused.
authorNathan Binkert <nate@binkert.org>
Thu, 9 Oct 2008 11:58:23 +0000 (04:58 -0700)
committerNathan Binkert <nate@binkert.org>
Thu, 9 Oct 2008 11:58:23 +0000 (04:58 -0700)
src/sim/host.hh

index 518873ab3daeef9b675c1f5ad1b7307931c46ad2..dd29534fd19dd03e24e9da3938f57c6dd0151ad3 100644 (file)
@@ -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