From 9a20f8e8d1a91bd032e81ac53bf9a48dbb92bc29 Mon Sep 17 00:00:00 2001 From: Matthieu Darbois Date: Sat, 30 Apr 2016 17:58:04 +0200 Subject: Update lcms (#544) Update to mm2/Little-CMS@0e8234e090d6aab33f90e2eb0296f30aa0705e57 --- thirdparty/liblcms2/src/cmserr.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'thirdparty/liblcms2/src/cmserr.c') diff --git a/thirdparty/liblcms2/src/cmserr.c b/thirdparty/liblcms2/src/cmserr.c index 29516db4..78a1f947 100644 --- a/thirdparty/liblcms2/src/cmserr.c +++ b/thirdparty/liblcms2/src/cmserr.c @@ -1,7 +1,7 @@ //--------------------------------------------------------------------------------- // // Little Color Management System -// Copyright (c) 1998-2012 Marti Maria Saguer +// Copyright (c) 1998-2016 Marti Maria Saguer // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the "Software"), @@ -25,6 +25,13 @@ #include "lcms2_internal.h" + +// This function is here to help applications to prevent mixing lcms versions on header and shared objects. +int CMSEXPORT cmsGetEncodedCMMversion(void) +{ + return LCMS_VERSION; +} + // I am so tired about incompatibilities on those functions that here are some replacements // that hopefully would be fully portable. -- cgit v1.2.3