gallium,util: undef ALIGN on FreeBSD to prevent name clash
authorGreg V <greg@unrelenting.technology>
Thu, 23 Apr 2020 13:15:38 +0000 (16:15 +0300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 1 Jul 2020 16:47:05 +0000 (16:47 +0000)
commit29e2a3b8f5e75508202cd651d16648256f303779
treed8ecb7d2af10dbe15334ec622b3bca267c2eaa1a
parentf678811b567aafba60842bf0b3cff124da4daa0e
gallium,util: undef ALIGN on FreeBSD to prevent name clash

Some rare headers like ipc/shm and pthread_np cause
machine/param.h to be included which defines a macro called ALIGN.

Signed-off-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3559>
src/gallium/winsys/sw/dri/dri_sw_winsys.c
src/util/u_thread.h