[jdk8u-dev] RFR: 8337312: [8u] Windows x86 VS2010 build broken by JDK-8320097
Paul Hohensee
phh at openjdk.org
Mon Jul 29 15:11:50 UTC 2024
On Sat, 27 Jul 2024 20:40:45 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:
> Attempt to fix 8337312 using the same logic from `jdk/src/share/native/sun/java2d/cmm/lcms/lcms2_internal.h`:
>
> ~~~
> /// Properly define some macros to accommodate
> /// older MSVC versions.
> # if defined(_MSC_VER) && _MSC_VER <= 1700
> #include <float.h>
> #define isnan _isnan
> #define isinf(x) (!_finite((x)))
> # endif
> ~~~
Marked as reviewed by phh (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk8u-dev/pull/555#pullrequestreview-2205251639
More information about the jdk8u-dev
mailing list