and Windows. This test relies on the fake setlocale function in
setlocale.c. */
#undef setlocale
+#if defined _WIN32 && !defined __CYGWIN__
+# define setlocale fake_setlocale
+#endif
#define _(string) gettext (string)
and Windows. This test relies on the fake setlocale function in
setlocale.c. */
#undef setlocale
+#if defined _WIN32 && !defined __CYGWIN__
+# define setlocale fake_setlocale
+#endif
#define _(string) gettext (string)
and Windows. This test relies on the fake setlocale function in
setlocale.c. */
#undef setlocale
+#if defined _WIN32 && !defined __CYGWIN__
+# define setlocale fake_setlocale
+#endif
int
main (int argc, char *argv[])
Note: On platforms where _nl_locale_name_posix invokes setlocale_null, this
override *must* be called 'setlocale'. */
#undef setlocale
+/* Avoid a link error on MSVC. */
+#if defined _WIN32 && !defined __CYGWIN__
+# define setlocale fake_setlocale
+#endif
/* Return string representation of locale CATEGORY. */
static const char *
#undef _LIBINTL_H
#include "libgnuintl.h"
+#if defined _WIN32 && !defined __CYGWIN__
+# undef setlocale
+# define setlocale fake_setlocale
+#endif
+
#define _(str) gettext (str)
/* If false, add newline after last string. This makes only sense in
#undef _LIBINTL_H
#include "libgnuintl.h"
+#if defined _WIN32 && !defined __CYGWIN__
+# undef setlocale
+# define setlocale fake_setlocale
+#endif
+
#define _(str) gettext (str)
/* Long options. */