diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2007-07-19 13:25:32 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2007-07-19 13:25:32 +0400 |
commit | b0ff8192adfe713fbaefa27adbd8dee4014f00f7 (patch) | |
tree | 0a78e2211d674bedd3e0333cb826bdbb2ad61dc2 /winsup/mingw/include | |
parent | 892635fd9f46dc2afbb41d0fafe14d344050acb7 (diff) |
* include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
Vista.
Diffstat (limited to 'winsup/mingw/include')
-rw-r--r-- | winsup/mingw/include/fcntl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/mingw/include/fcntl.h b/winsup/mingw/include/fcntl.h index e62d15950..9bff9352a 100644 --- a/winsup/mingw/include/fcntl.h +++ b/winsup/mingw/include/fcntl.h @@ -46,6 +46,12 @@ #define _O_BINARY 0x8000 /* Input and output is not translated. */ #define _O_RAW _O_BINARY +#if (__MSVCRT_VERSION__ >= 0x0800) +#define _O_WTEXT 0x10000 +#define _O_U16TEXT 0x20000 +#define _O_U8TEXT 0x40000 +#endif + #ifndef _NO_OLDNAMES /* POSIX/Non-ANSI names for increased portability */ |