summaryrefslogtreecommitdiff
path: root/sal/textenc/tables.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/textenc/tables.cxx')
-rw-r--r--sal/textenc/tables.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sal/textenc/tables.cxx b/sal/textenc/tables.cxx
index 0d91d36be..00d781101 100644
--- a/sal/textenc/tables.cxx
+++ b/sal/textenc/tables.cxx
@@ -127,6 +127,12 @@ static sal_uInt16 const aImplDoubleByteIdentifierTab[1] = { 0 };
ImplTextEncodingData const *
Impl_getTextEncodingData(rtl_TextEncoding nEncoding)
+#ifdef IOS
+ // Dunno if the g++ for iOS is just pickier, or why other g++
+ // versions don't complain about the lack of throw to match the
+ // one in the declaration in gettextencodingdata.h.o
+ SAL_THROW_EXTERN_C()
+#endif
{
static ImplTextEncodingData const * const aData[]
= { NULL, /* DONTKNOW */