Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2007-07-19 13:25:32 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2007-07-19 13:25:32 +0400
commitb0ff8192adfe713fbaefa27adbd8dee4014f00f7 (patch)
tree0a78e2211d674bedd3e0333cb826bdbb2ad61dc2 /winsup/mingw/include
parent892635fd9f46dc2afbb41d0fafe14d344050acb7 (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.h6
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 */