src/hotspot/os/windows/os_windows.hpp
changeset 53369 55cee96fefec
parent 53244 9807daeb47c4
child 53646 043ae846819f
equal deleted inserted replaced
53368:91f56aee3928 53369:55cee96fefec
    26 #define OS_WINDOWS_OS_WINDOWS_HPP
    26 #define OS_WINDOWS_OS_WINDOWS_HPP
    27 // Win32_OS defines the interface to windows operating systems
    27 // Win32_OS defines the interface to windows operating systems
    28 
    28 
    29 // strtok_s is the Windows thread-safe equivalent of POSIX strtok_r
    29 // strtok_s is the Windows thread-safe equivalent of POSIX strtok_r
    30 #define strtok_r strtok_s
    30 #define strtok_r strtok_s
       
    31 
       
    32 #define S_ISCHR(mode)   (((mode) & _S_IFCHR) == _S_IFCHR)
       
    33 #define S_ISFIFO(mode)  (((mode) & _S_IFIFO) == _S_IFIFO)
    31 
    34 
    32 // Information about the protection of the page at address '0' on this os.
    35 // Information about the protection of the page at address '0' on this os.
    33 static bool zero_page_read_protected() { return true; }
    36 static bool zero_page_read_protected() { return true; }
    34 
    37 
    35 // File conventions
    38 // File conventions