cpp-d1064d
[cross.git] / i686-linux-gnu-4.7 / usr / include / x86_64-linux-gnu / bits / types / __mbstate_t.h
diff --git a/i686-linux-gnu-4.7/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h b/i686-linux-gnu-4.7/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h
new file mode 100644 (file)
index 0000000..1d8a4e2
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef ____mbstate_t_defined
+#define ____mbstate_t_defined 1
+
+/* Integral type unchanged by default argument promotions that can
+   hold any value corresponding to members of the extended character
+   set, as well as at least one value that does not correspond to any
+   member of the extended character set.  */
+#ifndef __WINT_TYPE__
+# define __WINT_TYPE__ unsigned int
+#endif
+
+/* Conversion state information.  */
+typedef struct
+{
+  int __count;
+  union
+  {
+    __WINT_TYPE__ __wch;
+    char __wchb[4];
+  } __value;           /* Value so far.  */
+} __mbstate_t;
+
+#endif