summaryrefslogtreecommitdiffstats
path: root/newlib/libc/locale/lmessages.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/lmessages.c')
-rw-r--r--newlib/libc/locale/lmessages.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/locale/lmessages.c b/newlib/libc/locale/lmessages.c
index 33a4a5a21..9fb1df4a9 100644
--- a/newlib/libc/locale/lmessages.c
+++ b/newlib/libc/locale/lmessages.c
@@ -35,7 +35,9 @@
#define LCMESSAGES_SIZE_MIN \
(offsetof(struct lc_messages_T, yesstr) / sizeof(char *))
+#ifndef __CYGWIN__
static char empty[] = "";
+#endif
static const struct lc_messages_T _C_messages_locale = {
"^[yY]" , /* yesexpr */