summaryrefslogtreecommitdiff
path: root/include/lcms2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lcms2.h')
-rw-r--r--include/lcms2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/lcms2.h b/include/lcms2.h
index cded99c..6f5df13 100644
--- a/include/lcms2.h
+++ b/include/lcms2.h
@@ -23,7 +23,7 @@
//
//---------------------------------------------------------------------------------
//
-// Version 2.9rc2
+// Version 2.9b1
//
#ifndef _lcms2_H
@@ -235,8 +235,13 @@ typedef int cmsBool;
# define CMSAPI
# endif
#else // not Windows
+# ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
+# define CMSEXPORT
+# define CMSAPI __attribute__((visibility("default")))
+# else
# define CMSEXPORT
# define CMSAPI
+# endif
#endif // CMS_IS_WINDOWS_
#ifdef HasTHREADS