diff options
| author | Karl Cheng <qantas94heavy@gmail.com> | 2019-05-10 07:56:07 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-05-12 12:45:27 +0000 |
| commit | e6ad8433954db069908bac240f39911fc32e5025 (patch) | |
| tree | e655e16ddc932b6e936ca8ff85626ee5c0fdf023 /src/svg | |
| parent | rename to avoid name clashes. (diff) | |
| download | inkscape-e6ad8433954db069908bac240f39911fc32e5025.tar.gz inkscape-e6ad8433954db069908bac240f39911fc32e5025.zip | |
Remove support for LCMS 1
Now that all platforms (including macOS) now support LCMS 2, we no
longer need to support LCMS 1.
Fixes: https://bugs.launchpad.net/inkscape/+bug/1133014
Diffstat (limited to 'src/svg')
| -rw-r--r-- | src/svg/svg-color.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/svg/svg-color.cpp b/src/svg/svg-color.cpp index dbd32b706..1c8c021d3 100644 --- a/src/svg/svg-color.cpp +++ b/src/svg/svg-color.cpp @@ -33,7 +33,7 @@ #include "svg-icc-color.h" #include "color.h" -#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#if defined(HAVE_LIBLCMS2) #include <vector> #include "object/color-profile.h" @@ -41,7 +41,7 @@ #include "document.h" #include "inkscape.h" #include "profile-manager.h" -#endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#endif // defined(HAVE_LIBLCMS2) #include "cms-system.h" @@ -508,7 +508,7 @@ sp_svg_create_color_hash() return colors; } -#if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#if defined(HAVE_LIBLCMS2) void icc_color_to_sRGB(SVGICCColor* icc, guchar* r, guchar* g, guchar* b) { @@ -538,7 +538,7 @@ g_message("transform to sRGB done"); } } } -#endif //defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#endif //defined(HAVE_LIBLCMS2) /* * Some discussion at http://markmail.org/message/bhfvdfptt25kgtmj |
