vcl: namespace PDFWriterImpl consistently
[LibreOffice.git] / external / lcms2 / lcms2-2.4-windows.patch
blob749a81200b114d6226e7b4577b3433c9f6ca75ab
1 TODO: Is this still needed?
3 --- misc/lcms2-2.4/include/lcms2.h 2011-12-15 16:45:47.000000000 +0100
4 +++ misc/build/lcms2-2.4/include/lcms2.h 2012-03-17 22:53:28.731585981 +0100
5 @@ -192,6 +192,15 @@ typedef int cmsBool;
6 #endif // CMS_USE_BIG_ENDIAN
9 +// LibreOffice always builds this as DLL and with the stdcall calling
10 +// convention, so make this usable from outside without having to
11 +// specify CMS_DLL manually whenever the library is used.
12 +#ifndef CMS_DLL_BUILD
13 +#ifndef CMS_DLL
14 +#define CMS_DLL
15 +#endif
16 +#endif
18 // Calling convention -- this is hardly platform and compiler dependent
19 #ifdef CMS_IS_WINDOWS_
20 # if defined(CMS_DLL) || defined(CMS_DLL_BUILD)