[MSDOS]: Fixed spelling of EACCES. Added macro overriding broken mkdir prototypes.

This commit is contained in:
Sergey Poznyakoff
2003-10-08 11:18:01 +00:00
parent 80e978dc2e
commit 006d3dc1d5

View File

@@ -510,12 +510,13 @@ time_t time ();
#if MSDOS
# include <process.h>
# define SET_BINARY_MODE(arc) setmode(arc, O_BINARY)
# define ERRNO_IS_EACCESS errno == EACCESS
# define ERRNO_IS_EACCES errno == EACCES
# define mkdir(file, mode) (mkdir) (file)
#else
# include <pwd.h>
# include <grp.h>
# define SET_BINARY_MODE(arc)
# define ERRNO_IS_EACCESS 0
# define ERRNO_IS_EACCES 0
#endif
#if XENIX