diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-07-23 15:08:56 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-07-23 15:08:56 +0300 |
commit | 2fbcff579b54cb1c3148fb1fb20c1c7d42857ec9 (patch) | |
tree | bf58e350ed41ea83b2f13e05f3afb879280c7cdd /include | |
parent | 68c8dcec1f8689191e1be3366ec3c127096ae4d4 (diff) |
Revert "WaE: "HAVE_GCC_ATTRIBUTE_WARN_UNUSED" is not defined"
Nope, that caused warning: unknown attribute 'warn_unused' ignored with Clang.
This reverts commit 68c8dcec1f8689191e1be3366ec3c127096ae4d4.
Diffstat (limited to 'include')
-rw-r--r-- | include/sal/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sal/types.h b/include/sal/types.h index 7e3a0b6358c3..9ce2cef8aa19 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 defined HAVE_GCC_ATTRIBUTE_WARN_UNUSED +#if HAVE_GCC_ATTRIBUTE_WARN_UNUSED #define SAL_WARN_UNUSED __attribute__((warn_unused)) #elif defined __clang__ #define SAL_WARN_UNUSED __attribute__((annotate("lo_warn_unused"))) |