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:
Duncan Hopkins
2020-08-26 17:39:56 +01:00
committed by Duncan Hopkins
parent d6a8a6ed4e
commit 40e3eb9be9

View File

@@ -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)
{