summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-05-24 23:40:10 +0300
committerTor Lillqvist <tml@iki.fi>2011-05-25 02:16:11 +0300
commitf4c776bad6ad746ef1da32faec92fb001033ef9b (patch)
treee510135a4ac81d3997d05d73a1be09a38d4c2831
parenta5d64ad12cbd6a1f3059565736a4e7f0d8e09c0c (diff)
Compilation fix for iOS
-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 */