projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb21f8
)
Make sure setlocale() is available.
author
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 3 Sep 2002 20:42:05 +0000
(20:42 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 3 Sep 2002 20:42:05 +0000
(20:42 +0000)
lib/gettext.h
patch
|
blob
|
history
diff --git
a/lib/gettext.h
b/lib/gettext.h
index ad29e0ab4986e9e5bc9dd965635c82c2b3d28e15..ba92769e25ef2795ba466180c819fd7b15fbf17d 100644
(file)
--- a/
lib/gettext.h
+++ b/
lib/gettext.h
@@
-24,6
+24,7
@@
/* Get declarations of GNU message catalog functions. */
# include <libintl.h>
+# include <locale.h>
/* Shorthand notation */
@@
-60,6
+61,7
@@
# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
# define _(Text) Text
+# define setlocale(Category, Locale) ((chonst char *) (Locale))
#endif