Build errors:
ERROR: error 65280 occurred while making
/cygdrive/p/build/libreoffice-3.2.99.2/setup_native/source/win32/stwrapper
setup_native/source/win32/customactions/sellang/sellang.cxx(188) : error
C3861: 'SAL_N_ELEMENTS': identifier not found
Reason: missing #include <sal/macros.h>
commit under LGPLv3
diff --git a/setup_native/source/win32/customactions/sellang/sellang.cxx
b/setup_native/source/win32/customactions/sellang/sellang.cxx
index 5236083..7a09c78 100644
--- a/setup_native/source/win32/customactions/sellang/sellang.cxx
+++ b/setup_native/source/win32/customactions/sellang/sellang.cxx
@@ -51,6 +51,7 @@
#include <stdio.h>
#pragma warning(pop)
+#include <sal/macros.h>
#include <systools/win32/uwinapi.h>
/* #define VERBOSE_DEBUG_OUTPUT 1 */
diff --git a/setup_native/source/win32/stwrapper/stwrapper.cxx
b/setup_native/source/win32/stwrapper/stwrapper.cxx
index 9b55362..210b5fb 100644
--- a/setup_native/source/win32/stwrapper/stwrapper.cxx
+++ b/setup_native/source/win32/stwrapper/stwrapper.cxx
@@ -12,6 +12,7 @@
#include <tchar.h>
#include <stdio.h>
+#include <sal/macros.h>
enum PathResult
{
Context
- [Libreoffice] [PATCH, EasyHack] Fix for setup_native win32 SAL_N_ELEMENTS · Bircher Florian
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.