S_IFBLK and S_IFCHR may not exist in some places (like Windows), so
let's check for those macros, and if they aren't defined, let's assume there aren't Unixly devices on this platform.
Showing
想要评论请 注册 或 登录
let's check for those macros, and if they aren't defined, let's assume there aren't Unixly devices on this platform.