diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-05-24 23:40:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-05-25 02:16:11 +0300 |
commit | f4c776bad6ad746ef1da32faec92fb001033ef9b (patch) | |
tree | e510135a4ac81d3997d05d73a1be09a38d4c2831 /sal | |
parent | a5d64ad12cbd6a1f3059565736a4e7f0d8e09c0c (diff) |
Compilation fix for iOS
Diffstat (limited to 'sal')
-rw-r--r-- | sal/textenc/tables.cxx | 6 |
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 */ |