From 779ab3a57048df9c3a9062820f9a753eba82ea94 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 27 Jan 2024 13:43:24 -1000 Subject: [PATCH] ALTAIRZ80: Add support to build m68k code on Itanium under VMS --- AltairZ80/m68k/m68kcpu.h | 2 ++ AltairZ80/m68k/softfloat/mamesf.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/AltairZ80/m68k/m68kcpu.h b/AltairZ80/m68k/m68kcpu.h index 42663d26..5143ab59 100755 --- a/AltairZ80/m68k/m68kcpu.h +++ b/AltairZ80/m68k/m68kcpu.h @@ -77,7 +77,9 @@ typedef unsigned int uint; #if M68K_USE_64_BIT typedef signed long long sint64; +#if !(defined(__DECC_VER) && defined(__ia64)) typedef unsigned long long uint64; +#endif #else typedef sint32 sint64; typedef uint32 uint64; diff --git a/AltairZ80/m68k/softfloat/mamesf.h b/AltairZ80/m68k/softfloat/mamesf.h index 06f0132a..9797360f 100644 --- a/AltairZ80/m68k/softfloat/mamesf.h +++ b/AltairZ80/m68k/softfloat/mamesf.h @@ -24,7 +24,9 @@ *----------------------------------------------------------------------------*/ typedef sint8 flag; +#if !(defined(__DECC_VER) && defined(__ia64)) typedef sint64 int64; +#endif /*---------------------------------------------------------------------------- | Each of the following `typedef's defines a type that holds integers