From f5e0500df4ce3852ffaece6bb916c294ed17f525 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 19 Aug 2012 22:31:55 -0700 Subject: Add a macro to help make a 64-bit value --- OpenAL32/Include/alMain.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index ef8b8cb7..303a990b 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -74,6 +74,8 @@ typedef unsigned long long ALuint64; typedef ptrdiff_t ALintptrEXT; typedef ptrdiff_t ALsizeiptrEXT; +#define MAKEU64(x,y) (((ALuint64)(x)<<32)|(ALuint64)(y)) + #ifdef HAVE_GCC_FORMAT #define PRINTF_STYLE(x, y) __attribute__((format(printf, (x), (y)))) #else -- cgit v1.2.3