68k, fix musashi support (for debugging only)
authorkub <derkub@gmail.com>
Thu, 15 Apr 2021 22:26:23 +0000 (00:26 +0200)
committerkub <derkub@gmail.com>
Thu, 15 Apr 2021 22:26:23 +0000 (00:26 +0200)
cpu/musashi/m68kcpu.h

index a1dff7d..5eee2b2 100644 (file)
 #define M68KCPU__HEADER\r
 \r
 // notaz: something's missing this\r
-#ifndef UINT64\r
-#define UINT64 unsigned long long\r
-#endif\r
-#ifndef UINT16\r
-#define UINT32 unsigned int\r
-#define UINT16 unsigned short\r
-#define UINT8  unsigned char\r
-#endif\r
+#include <stdint.h>\r
+typedef uint64_t UINT64;\r
+typedef uint32_t UINT32;\r
+typedef uint16_t UINT16;\r
+typedef uint8_t  UINT8;\r
 \r
 #include "m68k.h"\r
 #include <limits.h>\r