diff options
author | Chris Robinson <[email protected]> | 2012-08-19 22:31:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-19 22:31:55 -0700 |
commit | f5e0500df4ce3852ffaece6bb916c294ed17f525 (patch) | |
tree | 36caf96a542963996a5ca5876053c228d393251c /OpenAL32/Include/alMain.h | |
parent | 37924887e8ff84082bc948b46a664e03663ff670 (diff) |
Add a macro to help make a 64-bit value
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |