On 05/12/16 19:52, Emil Velikov wrote:
From: Emil Velikov <emil.veli...@collabora.com>

Analogoust to the previous commit were we did so for autotools

Cc: Jose Fonseca <jfons...@vmware.com>
Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
---
Jose, I'm not 100% sure if that holds true the compiler(s) that you
gents use. Can you please double-check ?

Thanks
Emil
---
 include/c99_compat.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/c99_compat.h b/include/c99_compat.h
index 24e96e0..cb690c6 100644
--- a/include/c99_compat.h
+++ b/include/c99_compat.h
@@ -163,6 +163,7 @@ test_c99_compat_h(const void * restrict a,
 #    define HAVE_FUNC_ATTRIBUTE_UNUSED 1
 #    define HAVE_FUNC_ATTRIBUTE_FORMAT 1
 #    define HAVE_FUNC_ATTRIBUTE_PACKED 1
+#    define HAVE_FUNC_ATTRIBUTE_ALIAS 1

 #    if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
        /* https://gcc.gnu.org/onlinedocs/gcc-4.3.6/gcc/Other-Builtins.html */



Per https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Function-Attributes.html it's supported on GCC-4.2 so it should be there.

Reviewed-by: Jose Fonseca <jfons...@vmware.com>

Jose
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to