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
 {
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to