summaryrefslogtreecommitdiff
path: root/src/internal/locale_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/locale_impl.h')
-rw-r--r--src/internal/locale_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/locale_impl.h b/src/internal/locale_impl.h
index 0b5e00cf..741a71c4 100644
--- a/src/internal/locale_impl.h
+++ b/src/internal/locale_impl.h
@@ -27,6 +27,8 @@ hidden const char *__lctrans_impl(const char *, const struct __locale_map *);
hidden int __loc_is_allocated(locale_t);
hidden char *__gettextdomain(void);
+#define LOC_MAP_FAILED ((const struct __locale_map *)-1)
+
#define LCTRANS(msg, lc, loc) __lctrans(msg, (loc)->cat[(lc)])
#define LCTRANS_CUR(msg) __lctrans_cur(msg)