Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / lcms2 / lcms2-windows-export.patch
blob9d6d26a1b64877298dfed5c6a704974aa1dc4dd1
1 --- misc/build/lcms2-2.3/include/lcms2.h.sav 2011-12-15 16:45:47.000000000 +0100
2 +++ misc/build/lcms2-2.3/include/lcms2.h 2012-03-17 22:53:28.731585981 +0100
3 @@ -192,6 +192,15 @@ typedef int cmsBool;
4 # endif
5 #endif
7 +// LibreOffice always builds this as DLL and with the stdcall calling
8 +// convention, so make this usable from outside without having to
9 +// specify CMS_DLL manually whenever the library is used.
10 +#ifndef CMS_DLL_BUILD
11 +#ifndef CMS_DLL
12 +#define CMS_DLL
13 +#endif
14 +#endif
16 // Calling convention -- this is hardly platform and compiler dependent
17 #ifdef CMS_IS_WINDOWS_
18 # if defined(CMS_DLL) || defined(CMS_DLL_BUILD)