mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
mesa: Undefine ALIGN macro before it is used as a function name. Issues on MacOS.
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7469>
This commit is contained in:
parent
d6a8a6ed4e
commit
40e3eb9be9
1 changed files with 4 additions and 0 deletions
|
|
@ -691,6 +691,10 @@ util_memcpy_cpu_to_le32(void * restrict dest, const void * restrict src, size_t
|
|||
*
|
||||
* \sa ROUND_DOWN_TO()
|
||||
*/
|
||||
|
||||
#if defined(ALIGN)
|
||||
#undef ALIGN
|
||||
#endif
|
||||
static inline uintptr_t
|
||||
ALIGN(uintptr_t value, int32_t alignment)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue