diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2010-05-12 00:40:14 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2010-05-12 00:40:14 +0400 |
commit | 60bdafbbdac1f3e4d5939844d7f133d4e519c012 (patch) | |
tree | 401b284651f9b8813d82a4388c971281a6ff4ed4 /newlib/libc/locale | |
parent | eb2c2b6e6ebd80f51ba3bd09177563f7640fa0b0 (diff) |
2010-05-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/locale/locale.c (loadlocale): Fix dangling
switch statement caused by __HAVE_LOCALE_INFO__ not being
defined.
Diffstat (limited to 'newlib/libc/locale')
-rw-r--r-- | newlib/libc/locale/locale.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index a204d3412..953da1376 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -882,9 +882,11 @@ restart: case LC_TIME: ret = __time_load_locale (locale, (void *) l_wctomb, charset); break; +#endif /* __HAVE_LOCALE_INFO__ */ default: break; } +#ifdef __HAVE_LOCALE_INFO__ if (ret) FAIL; #endif /* __HAVE_LOCALE_INFO__ */ |