diff options
author | Matt Turner <[email protected]> | 2016-07-11 10:44:25 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2016-07-21 10:45:28 -0700 |
commit | 5ec140c17b54c25920091501b665b9aa809cc5e8 (patch) | |
tree | 0184f313d78347a8d836e75412fb32cef300af3d /configure.ac | |
parent | 6bc54911939e75245d94aed3b40082587c3b74b4 (diff) |
mapi: Massage code to allow clang to compile.
According to https://llvm.org/bugs/show_bug.cgi?id=19778#c3 this code
was violating the spec, resulting in it failing to compile.
Cc: [email protected]
Co-authored-by: Tomasz Paweł Gajc <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89599
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3799d8dca30..1ca8359b902 100644 --- a/configure.ac +++ b/configure.ac @@ -226,6 +226,7 @@ AX_GCC_FUNC_ATTRIBUTE([packed]) AX_GCC_FUNC_ATTRIBUTE([pure]) AX_GCC_FUNC_ATTRIBUTE([returns_nonnull]) AX_GCC_FUNC_ATTRIBUTE([unused]) +AX_GCC_FUNC_ATTRIBUTE([visibility]) AX_GCC_FUNC_ATTRIBUTE([warn_unused_result]) AX_GCC_FUNC_ATTRIBUTE([weak]) |