diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinPort.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 5e7f9c3..ef6918f 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -355,6 +355,9 @@ typedef DWORD_PTR * PDWORD_PTR; #ifndef R_OK # define R_OK 04 #endif +#ifndef O_ACCMODE +# define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) +#endif /* * Define macros to query file type bits, if they're not already |