* tests/test-locale.c: LC_GLOBAL_LOCALE is a function call on illumos,
so move from global scope to main().
+2015-01-29 Alexander Pyhalov <alp@rsu.ru>
+
+ locale: fix tests on illumos (trivial)
+ * tests/test-locale.c: LC_GLOBAL_LOCALE is a function call on illumos,
+ so move from global scope to main().
+
2015-01-24 Daiki Ueno <ueno@gnu.org>
unictype: avoid undefined left-shift behavior
LC_TIME
};
-#if HAVE_NEWLOCALE
-/* Check that the locale_t type and the LC_GLOBAL_LOCALE macro are defined. */
-locale_t b = LC_GLOBAL_LOCALE;
-#endif
-
/* Check that the 'struct lconv' type is defined. */
struct lconv l;
int ls;
int
main ()
{
+#if HAVE_NEWLOCALE
+ /* Check that the locale_t type and the LC_GLOBAL_LOCALE macro are defined. */
+ locale_t b = LC_GLOBAL_LOCALE;
+#endif
+
/* Check that 'struct lconv' has the ISO C and POSIX specified members. */
ls += sizeof (*l.decimal_point);
ls += sizeof (*l.thousands_sep);