diff options
author | Marti Maria <marti.maria@littlecms.com> | 2020-05-26 10:55:32 +0200 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2020-05-26 10:55:32 +0200 |
commit | 2021357a297ea145bf43f256d1aed718a32215f4 (patch) | |
tree | 5516b64aeb10718f8ada1f632f67217f382ea305 /src/lcms2_internal.h | |
parent | d881cc6791858f67e1bfd6fa306c2184a99f99e9 (diff) | |
download | lcms2-2021357a297ea145bf43f256d1aed718a32215f4.tar.gz |
More fixes from Artifexlcms2.10
More fixes from Artifex
Thank you!
Diffstat (limited to 'src/lcms2_internal.h')
-rw-r--r-- | src/lcms2_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lcms2_internal.h b/src/lcms2_internal.h index 683ec4c..57a81e4 100644 --- a/src/lcms2_internal.h +++ b/src/lcms2_internal.h @@ -112,6 +112,13 @@ #define isinf(x) (!_finite((x))) # endif +#if !defined(_MSC_VER) && (defined(__STDC_VERSION__) && __STDC_VERSION__ < 199901L) + #if !defined(isinf) + #define isinf(x) (!finite((x))) + #endif +#endif + + #endif // A fast way to convert from/to 16 <-> 8 bits |