rework langinfo code for ABI compat and for use by time code
[musl] / include / wchar.h
index 0f1f6d2..96cd444 100644 (file)
@@ -36,9 +36,9 @@ extern "C" {
 #define NULL 0L
 
 #undef WEOF
-#define WEOF (-1)
+#define WEOF 0xffffffffU
 
-typedef struct
+typedef struct __mbstate_t
 {
        unsigned __opaque1, __opaque2;
 } mbstate_t;