vcpkg/ports/lcms/fix-shared-library.patch

13 lines
373 B
Diff
Raw Normal View History

diff --git a/include/lcms2.h b/include/lcms2.h
index fd4ac7c..a99bdd2 100644
--- a/include/lcms2.h
+++ b/include/lcms2.h
@@ -227,6 +227,7 @@ typedef int cmsBool;
// Calling convention -- this is hardly platform and compiler dependent
+#define CMS_DLL
#ifdef CMS_IS_WINDOWS_
# if defined(CMS_DLL) || defined(CMS_DLL_BUILD)
# ifdef __BORLANDC__