gallium: remove repeated check
This is already inside an "#if defined(__GNUC__)" conditional, there's no need to repeat the __GNUC__-check. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16908>
This commit is contained in:
parent
1b53fb625e
commit
ea7ba77be9
|
@ -120,7 +120,7 @@ typedef unsigned char boolean;
|
||||||
/* See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Variable-Attributes.html */
|
/* See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Variable-Attributes.html */
|
||||||
#define PIPE_ALIGN_VAR(_alignment) __attribute__((aligned(_alignment)))
|
#define PIPE_ALIGN_VAR(_alignment) __attribute__((aligned(_alignment)))
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(PIPE_ARCH_X86)
|
#ifdef PIPE_ARCH_X86
|
||||||
#define PIPE_ALIGN_STACK __attribute__((force_align_arg_pointer))
|
#define PIPE_ALIGN_STACK __attribute__((force_align_arg_pointer))
|
||||||
#else
|
#else
|
||||||
#define PIPE_ALIGN_STACK
|
#define PIPE_ALIGN_STACK
|
||||||
|
|
Loading…
Reference in New Issue