solenv/bin/native-code.py |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b1b1b8f8c1afc35589c3fc7a713def39f71ede97
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Tue Aug 18 13:47:28 2020 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Tue Aug 18 14:58:31 2020 +0200

    tdf#135432 native-code: Add missing include for locales
    
    While commit ed8bce1909f658d8e3d950f374931242f91ba811
    ("fix i18n constructors and android scripts", 2020-08-12)
    had added the missing constructors to the native-code.py
    script after commit 155c056b1d4674d5ff73bbb5e1ad1dcd1e6aae36
    ("i18npool: create instances with uno constructors",
    2020-07-29), the include for the header containing the
    corresponding 'WITH_LOCALE_*' defines was missing,
    so expressions like
    
        #if WITH_LOCALE_ALL || WITH_LOCALE_ja
    
    always evaluated to 0, effectively always keeping the
    constructors from actually being included.
    
    Therefore, add the missing 'config_locales.h' include.
    
    Change-Id: Icb00e058cc67a6aedac825c122c151c222f40b43
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100915
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index d0ebd3147d42..b3a7828460d0 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -809,6 +809,7 @@ print ("""/*
 #include <config_features.h>
 #include <config_fuzzers.h>
 #include <config_gpgme.h>
+#include <config_locales.h>
 #include <osl/detail/component-mapping.h>
 #include <string.h>
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to