From 006d3dc1d5190e935791d5eddf2e3e678dd4e00f Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 8 Oct 2003 11:18:01 +0000 Subject: [PATCH] [MSDOS]: Fixed spelling of EACCES. Added macro overriding broken mkdir prototypes. --- src/system.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/system.h b/src/system.h index 9fd1c1b..5420150 100644 --- a/src/system.h +++ b/src/system.h @@ -510,12 +510,13 @@ time_t time (); #if MSDOS # include # 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 # include # define SET_BINARY_MODE(arc) -# define ERRNO_IS_EACCESS 0 +# define ERRNO_IS_EACCES 0 #endif #if XENIX -- 2.45.2