gallium: remove support for GCC older than 4.2.0
authorTimothy Arceri <t_arceri@yahoo.com.au>
Wed, 17 Dec 2014 20:45:04 +0000 (07:45 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 18 Dec 2014 05:08:19 +0000 (16:08 +1100)
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/gallium/include/pipe/p_compiler.h

index 939fb06998bdf62f4f3261df6ac3df86e50799d9..fb018bf0542e50dd69671d34492c44e02c379677 100644 (file)
@@ -155,7 +155,7 @@ typedef unsigned char boolean;
 /* See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Variable-Attributes.html */
 #define PIPE_ALIGN_VAR(_alignment) __attribute__((aligned(_alignment)))
 
-#if (__GNUC__ > 4 || (__GNUC__ == 4 &&__GNUC_MINOR__>1)) && !defined(PIPE_ARCH_X86_64)
+#if defined(__GNUC__) && !defined(PIPE_ARCH_X86_64)
 #define PIPE_ALIGN_STACK __attribute__((force_align_arg_pointer))
 #else
 #define PIPE_ALIGN_STACK