[jdk8u-dev] RFR: 8337312: [8u] Windows x86 VS2010 build broken by JDK-8320097
Andrew John Hughes
andrew at openjdk.org
Tue Jul 30 15:54:37 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
> ~~~
Thanks Paul for the review.
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/555#issuecomment-2258677239
More information about the jdk8u-dev
mailing list