[Libreoffice-commits] core.git: include/sal
David Tardon
dtardon at redhat.com
Tue Jul 23 04:37:15 PDT 2013
include/sal/types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 68c8dcec1f8689191e1be3366ec3c127096ae4d4
Author: David Tardon <dtardon at 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")))
More information about the Libreoffice-commits
mailing list