OSDN Git Service

* include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
authordannysmith <dannysmith>
Thu, 19 Jul 2007 09:25:32 +0000 (09:25 +0000)
committerdannysmith <dannysmith>
Thu, 19 Jul 2007 09:25:32 +0000 (09:25 +0000)
Vista.

winsup/mingw/ChangeLog
winsup/mingw/include/fcntl.h

index feb2da0..e69c1f2 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-19  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/fcntl.h (_O_WTEXT, _O_U16TEXT, _O_U8TEXT) Define for
+       Vista.
+
 2007-07-12  Danny Smith  <dannysmith@users.sourceforge.net>
 
        [mingw-Bugs-1734142]
@@ -17,7 +22,7 @@
 
        * mingwex/gdtoa/mingw_snprintf.c: New file.
        * mingwex/Makefile.in (GDTOA_DISTFILES): Add mingw_snprintf.c.
-       (GDTOA_OBJS): Add mingw_snprintf.O.
+       (GDTOA_OBJS): Add mingw_snprintf.o.
 
 2007-06-28  Danny Smith  <dannysmith@users.sourceforge.net>
 
index e62d159..9bff935 100644 (file)
 #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 */