--- a/src/hotspot/os/windows/os_windows.hpp Thu Jan 10 17:08:44 2019 +0800
+++ b/src/hotspot/os/windows/os_windows.hpp Thu Jan 17 08:48:11 2019 -0500
@@ -29,6 +29,9 @@
// strtok_s is the Windows thread-safe equivalent of POSIX strtok_r
#define strtok_r strtok_s
+#define S_ISCHR(mode) (((mode) & _S_IFCHR) == _S_IFCHR)
+#define S_ISFIFO(mode) (((mode) & _S_IFIFO) == _S_IFIFO)
+
// Information about the protection of the page at address '0' on this os.
static bool zero_page_read_protected() { return true; }