Files
libreoffice/external/lcms2/lcms2-2.4-windows.patch
David Tardon 0ada594b5c upload lcms2 2.8
Change-Id: I8a3b138c051d3cddf25855a635262311669bdddc
Reviewed-on: https://gerrit.libreoffice.org/33798
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-02-01 20:47:57 +00:00

21 lines
690 B
Diff

TODO: Is this still needed?
--- misc/lcms2-2.4/include/lcms2.h 2011-12-15 16:45:47.000000000 +0100
+++ misc/build/lcms2-2.4/include/lcms2.h 2012-03-17 22:53:28.731585981 +0100
@@ -192,6 +192,15 @@ typedef int cmsBool;
#endif // CMS_USE_BIG_ENDIAN
+// LibreOffice always builds this as DLL and with the stdcall calling
+// convention, so make this usable from outside without having to
+// specify CMS_DLL manually whenever the library is used.
+#ifndef CMS_DLL_BUILD
+#ifndef CMS_DLL
+#define CMS_DLL
+#endif
+#endif
+
// Calling convention -- this is hardly platform and compiler dependent
#ifdef CMS_IS_WINDOWS_
# if defined(CMS_DLL) || defined(CMS_DLL_BUILD)