diff options
| author | Matthieu Darbois <mayeut@users.noreply.github.com> | 2016-04-30 17:58:04 +0200 |
|---|---|---|
| committer | Matthieu Darbois <mayeut@users.noreply.github.com> | 2016-04-30 17:58:04 +0200 |
| commit | 9a20f8e8d1a91bd032e81ac53bf9a48dbb92bc29 (patch) | |
| tree | d5387a97517acf7e8f5880a9f44bda772a0022dd /thirdparty/liblcms2/src/cmserr.c | |
| parent | 72deb588cbc8d5f56f8b0db3a2d120913e792cb8 (diff) | |
Update lcms (#544)
Update to mm2/Little-CMS@0e8234e090d6aab33f90e2eb0296f30aa0705e57
Diffstat (limited to 'thirdparty/liblcms2/src/cmserr.c')
| -rw-r--r-- | thirdparty/liblcms2/src/cmserr.c | 9 |
1 files changed, 8 insertions, 1 deletions
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. |
