util/ralloc: fix ralloc alignment on Win64

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4648>
This commit is contained in:
Jesse Natalie 2020-01-27 09:41:42 -08:00 committed by Marge Bot
parent b7c47c4f7c
commit a842dc154d

View file

@ -53,7 +53,11 @@ _CRTIMP int _vscprintf(const char *format, va_list argptr);
*/
struct
#ifdef _MSC_VER
#if _WIN64
__declspec(align(16))
#else
__declspec(align(8))
#endif
#elif defined(__LP64__)
__attribute__((aligned(16)))
#else