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 | 7e65812a54b164452d03ac380f88317b3cc61119 (patch) | |
tree | 29c9b8003aef80c8b8bc56fd023ba75bdd36e56e /sal | |
parent | 04b47c97e4eb54eee077ac28feb67a7b46ad3ff5 (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 0d91d36be3d6..00d78110106b 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 */ |