Make sure setlocale() is available.
This commit is contained in:
parent
2cb21f8810
commit
856de4c5fe
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
/* Get declarations of GNU message catalog functions. */
|
/* Get declarations of GNU message catalog functions. */
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
|
# include <locale.h>
|
||||||
|
|
||||||
/* Shorthand notation */
|
/* Shorthand notation */
|
||||||
|
|
||||||
|
@ -60,6 +61,7 @@
|
||||||
# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
|
# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
|
||||||
|
|
||||||
# define _(Text) Text
|
# define _(Text) Text
|
||||||
|
# define setlocale(Category, Locale) ((chonst char *) (Locale))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue