[jdk8u-dev] RFR: 8337312: [8u] Windows x86 VS2010 build broken by JDK-8320097

Andrew John Hughes andrew at openjdk.org
Sat Jul 27 20:45:41 UTC 2024


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
~~~

-------------

Commit messages:
 - 8337312: [8u] Windows x86 VS2010 build broken by JDK-8320097

Changes: https://git.openjdk.org/jdk8u-dev/pull/555/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=555&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8337312
  Stats: 7 lines in 1 file changed: 7 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/555.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/555/head:pull/555

PR: https://git.openjdk.org/jdk8u-dev/pull/555


More information about the jdk8u-dev mailing list