Skip to content

Commit

Permalink
Fix windows static builds
Browse files Browse the repository at this point in the history
After the latest changes CMSEXPORT and CMSAPI were undefined for Windows static (non-DLL) builds.
  • Loading branch information
ismail committed Feb 3, 2017
1 parent 2d808ad commit f67fdf0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/lcms2.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ typedef int cmsBool;
# define CMSAPI __declspec(dllimport)
# endif
# endif
# else
# define CMSEXPORT
# define CMSAPI
# endif
#else // not Windows
# ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
Expand Down

0 comments on commit f67fdf0

Please sign in to comment.