aboutsummaryrefslogtreecommitdiff
path: root/intl/gettextP.h
diff options
context:
space:
mode:
Diffstat (limited to 'intl/gettextP.h')
-rw-r--r--intl/gettextP.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/intl/gettextP.h b/intl/gettextP.h
index d210dc6c4e..26d9de0e77 100644
--- a/intl/gettextP.h
+++ b/intl/gettextP.h
@@ -136,8 +136,12 @@ struct loaded_domain
struct binding
{
struct binding *next;
- char *domainname;
char *dirname;
+#ifdef __GNUC__
+ char domainname[0];
+#else
+ char domainname[1];
+#endif
};
extern int _nl_msg_cat_cntr;