diff options
Diffstat (limited to 'include/bits/types.h')
-rw-r--r-- | include/bits/types.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/bits/types.h b/include/bits/types.h index 5d99e4f..83087b5 100644 --- a/include/bits/types.h +++ b/include/bits/types.h @@ -362,3 +362,15 @@ typedef struct { } imaxdiv_t; #endif + +/** + * Locale datatype. + */ +#if defined(__NEED_locale_t) && !defined(__DEFINED_locale_t) +# define __DEFINED_locale_t +typedef struct __locale locale_t; /* TODO not implemented */ +#endif +#ifndef __INTMAX_MAX +# define __INTMAX_MAX INT64_MAX +#endif + |