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:

committed by
Duncan Hopkins

parent
d6a8a6ed4e
commit
40e3eb9be9
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user