| 506 |
#if ! defined valloc && ! HAVE_DECL_VALLOC |
#if ! defined valloc && ! HAVE_DECL_VALLOC |
| 507 |
# define valloc(Size) malloc (Size) |
# define valloc(Size) malloc (Size) |
| 508 |
#endif |
#endif |
| 509 |
|
|
| 510 |
|
#if MSDOS |
| 511 |
|
# include <process.h> |
| 512 |
|
# define SET_BINARY_MODE(arc) setmode(arc, O_BINARY) |
| 513 |
|
# define ERRNO_IS_EACCESS errno == EACCESS |
| 514 |
|
#else |
| 515 |
|
# include <pwd.h> |
| 516 |
|
# include <grp.h> |
| 517 |
|
# define SET_BINARY_MODE(arc) |
| 518 |
|
# define ERRNO_IS_EACCESS 0 |
| 519 |
|
#endif |
| 520 |
|
|
| 521 |
|
#if XENIX |
| 522 |
|
# include <sys/inode.h> |
| 523 |
|
#endif |
| 524 |
|
|
| 525 |
|
|