diff options
author | Jakob Kaivo <jkk@ung.org> | 2024-06-04 13:41:06 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2024-06-04 13:41:06 -0400 |
commit | 0a0ca17c3d6a77fc36f96189ccff9be12af66e63 (patch) | |
tree | c0530452d5b0fb4d735ca6a2674445fefb01d093 /src/locale/_locale.h | |
parent | 447a8463d51c98bd234d3c314696eab59ecb29f7 (diff) |
track LC_CTYPE epoch in character conversion functions to detect a change
Diffstat (limited to 'src/locale/_locale.h')
-rw-r--r-- | src/locale/_locale.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale/_locale.h b/src/locale/_locale.h index b7867731..623ca4f3 100644 --- a/src/locale/_locale.h +++ b/src/locale/_locale.h @@ -92,6 +92,8 @@ struct __locale_t { char * __load_locale(struct __locale_t *loc, int mask, const char *name); struct __locale_t * __get_locale(void); +#define __get_ctype_epoch() (__get_locale()->ctype_epoch) + /* STDC(-1) */ |