mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
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:
parent
b7c47c4f7c
commit
a842dc154d
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue