diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-30 09:28:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-30 09:28:22 +0200 |
commit | b36120b8e1991bd4939b7d4838a4f0333c8a3016 (patch) | |
tree | 96141dfae8e1b4bde22852f045d6991aeeb74248 /include/sal | |
parent | cd3d9ed0ad281dfcc2b71c393e1b124ae78c4dcc (diff) |
and fix my previous commit
Change-Id: I63a22d5cf7a45d7b6fb3d1b356aa98ff954449e5
Diffstat (limited to 'include/sal')
-rw-r--r-- | include/sal/types.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/sal/types.h b/include/sal/types.h index 053e53d87b8d..9d5f699c9794 100644 --- a/include/sal/types.h +++ b/include/sal/types.h @@ -697,13 +697,11 @@ inline char16_t const * SAL_U(wchar_t const * p) @since LibreOffice 5.5 */ -#if defined LIBO_INTERNAL_ONLY -#if (defined __GNUC__ && __GNUC__ > 4) || defined __clang__ +#if defined LIBO_INTERNAL_ONLY && ((defined __GNUC__ && __GNUC__ > 4) || defined __clang__) #define SAL_RETURNS_NONNULL __attribute__((returns_nonnull)) #else #define SAL_RETURNS_NONNULL #endif -#endif /// @endcond #endif // INCLUDED_SAL_TYPES_H |