diff options
Diffstat (limited to 'include/cppu')
-rw-r--r-- | include/cppu/unotype.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/cppu/unotype.hxx b/include/cppu/unotype.hxx index a59445043735..a4d75011163d 100644 --- a/include/cppu/unotype.hxx +++ b/include/cppu/unotype.hxx @@ -149,7 +149,8 @@ cppu_detail_getUnoType( ::typelib_TypeClass_UNSIGNED_SHORT); } -#if LIBO_INTERNAL_ONLY && (!defined SAL_W32 || defined __MINGW32__) +#if LIBO_INTERNAL_ONLY \ + && (!defined SAL_W32 || defined __MINGW32__ || defined __clang__) // cf. sal/types.h sal_Unicode inline css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_uInt16 const *) { @@ -194,7 +195,8 @@ cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoCharType const *) { return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_CHAR); } -#if LIBO_INTERNAL_ONLY && (!defined SAL_W32 || defined __MINGW32__) +#if LIBO_INTERNAL_ONLY \ + && (!defined SAL_W32 || defined __MINGW32__ || defined __clang__) // cf. sal/types.h sal_Unicode inline css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_Unicode const *) { |