summaryrefslogtreecommitdiff
path: root/src/jit/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/target.h')
-rw-r--r--src/jit/target.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jit/target.h b/src/jit/target.h
index 453f8f9e6c..397ecbdb00 100644
--- a/src/jit/target.h
+++ b/src/jit/target.h
@@ -2394,6 +2394,14 @@ C_ASSERT((RBM_INT_CALLEE_SAVED & RBM_FPBASE) == RBM_NONE);
#endif
/*****************************************************************************/
+#ifdef _TARGET_64BIT_
+typedef unsigned __int64 target_size_t;
+#else
+typedef unsigned int target_size_t;
+#endif
+
+C_ASSERT(sizeof(target_size_t) == TARGET_POINTER_SIZE);
+
/*****************************************************************************/
#endif // _TARGET_H_
/*****************************************************************************/