diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index 2c5c59f23..b29e40291 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -605,6 +605,10 @@ static struct ConsoleState { DWORD consoleMode; /* Console mode upon shell start */ } conState = { 0, 0, 0, 0, INVALID_HANDLE_VALUE, 0 }; +#ifndef _O_U16TEXT /* For build environments lacking this constant: */ +# define _O_U16TEXT 0x20000 +#endif + /* ** Prepare console, (if known to be a WIN32 console), for UTF-8 ** input (from either typing or suitable paste operations) and for |