| 510 |
#if MSDOS |
#if MSDOS |
| 511 |
# include <process.h> |
# include <process.h> |
| 512 |
# define SET_BINARY_MODE(arc) setmode(arc, O_BINARY) |
# define SET_BINARY_MODE(arc) setmode(arc, O_BINARY) |
| 513 |
# define ERRNO_IS_EACCESS errno == EACCESS |
# define ERRNO_IS_EACCES errno == EACCES |
| 514 |
|
# define mkdir(file, mode) (mkdir) (file) |
| 515 |
#else |
#else |
| 516 |
# include <pwd.h> |
# include <pwd.h> |
| 517 |
# include <grp.h> |
# include <grp.h> |
| 518 |
# define SET_BINARY_MODE(arc) |
# define SET_BINARY_MODE(arc) |
| 519 |
# define ERRNO_IS_EACCESS 0 |
# define ERRNO_IS_EACCES 0 |
| 520 |
#endif |
#endif |
| 521 |
|
|
| 522 |
#if XENIX |
#if XENIX |