On 20/03/2019 15:45, Philip Race wrote:
So something like this : /** Begin JDK modifications to support building on Solaris **/ #ifdef SOLARIS .. #endif /* SOLARIS */ /** End JDK modifications to support building on Solaris **/
An updated version: http://cr.openjdk.java.net/~serb/8220495/webrev.04 I have updated this version to support platforms which are used for all trains since jdk7+. Summary: - #include <unistd.h> will be used on non-windows only - #include <stdbool.h> is commented out(it is supported since c99, and unsupported in SunStudio and VS2010) - "inline" keyword is commented out(it is supported since c99, and unsupported in SunStudio and VS2010) -- Best regards, Sergey.