* gettext-tools/tests/tstgettext.c (setlocale): Add comment, from
gettext-tools/tests/plural-1-prg.c.
* gettext-tools/tests/tstngettext.c (setlocale): Likewise.
#undef _LIBINTL_H
#include "libgnuintl.h"
+/* Disable the override of setlocale that libgnuintl.h activates on MacOS X
+ and Windows. This test relies on the fake setlocale function in
+ setlocale.c. */
#if defined _WIN32 && !defined __CYGWIN__
# undef setlocale
# define setlocale fake_setlocale
#undef _LIBINTL_H
#include "libgnuintl.h"
+/* Disable the override of setlocale that libgnuintl.h activates on MacOS X
+ and Windows. This test relies on the fake setlocale function in
+ setlocale.c. */
#if defined _WIN32 && !defined __CYGWIN__
# undef setlocale
# define setlocale fake_setlocale