Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 594044
Collapse All | Expand All

(-)gmorgan-0.70/src/gettext.h.old (-19 lines)
Lines 36-60 Link Here
36
#if defined(__sun)
36
#if defined(__sun)
37
# include <locale.h>
37
# include <locale.h>
38
#endif
38
#endif
39
40
/* Disabled NLS.
41
   The casts to 'const char *' serve the purpose of producing warnings
42
   for invalid uses of the value returned from these functions.
43
   On pre-ANSI systems without 'const', the config.h file is supposed to
44
   contain "#define const".  */
45
# define gettext(Msgid) ((const char *) (Msgid))
46
# define dgettext(Domainname, Msgid) ((const char *) (Msgid))
47
# define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid))
48
# define ngettext(Msgid1, Msgid2, N) \
49
    ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
50
# define dngettext(Domainname, Msgid1, Msgid2, N) \
51
    ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
52
# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \
53
    ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
54
# define textdomain(Domainname) ((const char *) (Domainname))
55
# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))
56
# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
57
58
#endif
39
#endif
59
40
60
/* A pseudo function call that serves as a marker for the automated
41
/* A pseudo function call that serves as a marker for the automated

Return to bug 594044