From 84c3fe72202a03269ac7c2c8b0730caa0b04d774 Mon Sep 17 00:00:00 2001 From: Barry Harris <44396066+barry65536@users.noreply.github.com> Date: Sun, 9 Nov 2014 17:23:56 +0000 Subject: [PATCH] oops - missed file! --- src/burn/driver.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/burn/driver.h b/src/burn/driver.h index e3185d59a..83e7ed363 100644 --- a/src/burn/driver.h +++ b/src/burn/driver.h @@ -35,6 +35,15 @@ __extension__ typedef long long INT64; #endif #define OSD_CPU_H +/* U64 and S64 are used to wrap long integer constants. */ +#if defined(__GNUC__) || defined(_MSC_VER) +#define U64(val) val##ULL +#define S64(val) val##LL +#else +#define U64(val) val +#define S64(val) val +#endif + /* OPN */ #define HAS_YM2203 1 #define HAS_YM2608 1