1 --- src/stream.d.orig 2012-09-05 05:50:05.863643076 -0700
2 +++ src/stream.d 2012-09-05 07:32:38.494710125 -0700
4 #define IS_EINVAL_EXTRA ((errno==EBADF)||(errno==EACCES)||(errno==EBADRQC))
5 #elif defined(UNIX_DARWIN) || defined(UNIX_FREEBSD) || defined(UNIX_NETBSD) || defined(UNIX_OPENBSD)
6 #define IS_EINVAL_EXTRA ((errno==EOPNOTSUPP)||(errno==ENOTSUP)||(errno==ENODEV))
7 +#elif defined(UNIX_SUNOS5)
8 + #define IS_EINVAL_EXTRA ((errno==ENXIO))
10 #define IS_EINVAL_EXTRA 0