[Mesa-dev] [PATCH 3/7] scons: set HAVE_FUNC_ATTRIBUTE_ALIAS

Emil Velikov emil.l.velikov at gmail.com
Mon Dec 5 19:52:41 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Analogoust to the previous commit were we did so for autotools

Cc: Jose Fonseca <jfonseca at vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov at 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 */
-- 
2.10.2



More information about the mesa-dev mailing list