diff options
Diffstat (limited to 'i18nutil')
-rw-r--r-- | i18nutil/source/utility/paper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx index b052ad54de2c..0d4b434c061c 100644 --- a/i18nutil/source/utility/paper.cxx +++ b/i18nutil/source/utility/paper.cxx @@ -290,7 +290,8 @@ PaperInfo PaperInfo::getSystemDefaultPaper() } #endif -#if defined(LC_PAPER) && defined(_GNU_SOURCE) +// _NL_PAPER_WIDTH / HEIGHT not available with android unified headers +#if defined(LC_PAPER) && defined(_GNU_SOURCE) && !defined(ANDROID) // try LC_PAPER locale_t loc = newlocale(LC_PAPER_MASK, "", static_cast<locale_t>(0)); if (loc != static_cast<locale_t>(0)) |