aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/sis.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/erc32/sis.h')
-rw-r--r--sim/erc32/sis.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sim/erc32/sis.h b/sim/erc32/sis.h
index a3973f3..fcabf9d 100644
--- a/sim/erc32/sis.h
+++ b/sim/erc32/sis.h
@@ -23,7 +23,6 @@
#include "ansidecl.h"
#include "gdb/callback.h"
#include "gdb/remote-sim.h"
-#include <stdint.h>
#include "end.h"
@@ -53,8 +52,10 @@ typedef float float32; /* 32-bit float */
typedef double float64; /* 64-bit float */
/* FIXME: what about host compilers that don't support 64-bit ints? */
-typedef uint64_t uint64; /* 64-bit unsigned int */
-typedef int64_t int64; /* 64-bit signed int */
+typedef unsigned long long uint64; /* 64-bit unsigned int */
+typedef long long int64; /* 64-bit signed int */
+
+#define UINT64_MAX 18446744073709551615ULL
struct pstate {