Merge "Change wctype_t from enum to int"

This commit is contained in:
Calin Juravle 2014-05-14 10:33:34 +00:00 committed by Gerrit Code Review
commit fd3171b465

View File

@ -47,7 +47,7 @@ typedef struct {
#endif
} mbstate_t;
typedef enum {
enum {
WC_TYPE_INVALID = 0,
WC_TYPE_ALNUM,
WC_TYPE_ALPHA,
@ -62,7 +62,9 @@ typedef enum {
WC_TYPE_UPPER,
WC_TYPE_XDIGIT,
WC_TYPE_MAX
} wctype_t;
};
typedef int wctype_t;
#define WEOF ((wint_t)(-1))