include/sal/types.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 68c8dcec1f8689191e1be3366ec3c127096ae4d4
Author: David Tardon <dtar...@redhat.com>
Date:   Tue Jul 23 13:36:51 2013 +0200

    WaE: "HAVE_GCC_ATTRIBUTE_WARN_UNUSED" is not defined
    
    Change-Id: Id45e2a5c31471b4f5a59c4511bbacc12f78356f6

diff --git a/include/sal/types.h b/include/sal/types.h
index 9ce2cef..7e3a0b6 100644
--- a/include/sal/types.h
+++ b/include/sal/types.h
@@ -555,7 +555,7 @@ template< typename T1, typename T2 > inline T1 
static_int_cast(T2 n) {
 
 */
 
-#if HAVE_GCC_ATTRIBUTE_WARN_UNUSED
+#if defined HAVE_GCC_ATTRIBUTE_WARN_UNUSED
 #define SAL_WARN_UNUSED __attribute__((warn_unused))
 #elif defined __clang__
 #define SAL_WARN_UNUSED __attribute__((annotate("lo_warn_unused")))
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to