diff options
Diffstat (limited to 'include/vk_platform.h')
| -rw-r--r-- | include/vk_platform.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/vk_platform.h b/include/vk_platform.h index 957c135e..90db1b2f 100644 --- a/include/vk_platform.h +++ b/include/vk_platform.h @@ -2,7 +2,7 @@ // File: vk_platform.h // /* -** Copyright (c) 2014 The Khronos Group Inc. +** Copyright (c) 2014-2015 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -82,6 +82,16 @@ typedef uint32_t bool32_t; typedef uint32_t VkSampleMask; typedef uint32_t VkFlags; +#if (UINTPTR_MAX >= UINT64_MAX) + #define VK_UINTPTRLEAST64_MAX UINTPTR_MAX + + typedef uintptr_t VkUintPtrLeast64; +#else + #define VK_UINTPTRLEAST64_MAX UINT64_MAX + + typedef uint64_t VkUintPtrLeast64; +#endif + #ifdef __cplusplus } // extern "C" #endif // __cplusplus |
