~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to gnulib/gettext.h

  • Committer: Monty Taylor
  • Date: 2010-07-30 06:58:29 UTC
  • mfrom: (1667.4.12 use-intltool)
  • mto: This revision was merged to the branch mainline in revision 1676.
  • Revision ID: mordred@inaugust.com-20100730065829-xu5n0qk2zzpwy73m
Merged in solaris fixes (oh yeah, and intltool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
   for invalid uses of the value returned from these functions.
64
64
   On pre-ANSI systems without 'const', the config.h file is supposed to
65
65
   contain "#define const".  */
 
66
# undef gettext
66
67
# define gettext(Msgid) ((const char *) (Msgid))
 
68
# undef dgettext
67
69
# define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid))
 
70
# undef dcgettext
68
71
# define dcgettext(Domainname, Msgid, Category) \
69
72
    ((void) (Category), dgettext (Domainname, Msgid))
 
73
# undef ngettext
70
74
# define ngettext(Msgid1, Msgid2, N) \
71
75
    ((N) == 1 \
72
76
     ? ((void) (Msgid2), (const char *) (Msgid1)) \
73
77
     : ((void) (Msgid1), (const char *) (Msgid2)))
 
78
# undef dngettext
74
79
# define dngettext(Domainname, Msgid1, Msgid2, N) \
75
80
    ((void) (Domainname), ngettext (Msgid1, Msgid2, N))
 
81
# undef dcngettext
76
82
# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \
77
83
    ((void) (Category), dngettext(Domainname, Msgid1, Msgid2, N))
 
84
# undef textdomain
78
85
# define textdomain(Domainname) ((const char *) (Domainname))
 
86
# undef bindtextdomain
79
87
# define bindtextdomain(Domainname, Dirname) \
80
88
    ((void) (Domainname), (const char *) (Dirname))
 
89
# undef bind_textdomain_codeset
81
90
# define bind_textdomain_codeset(Domainname, Codeset) \
82
91
    ((void) (Domainname), (const char *) (Codeset))
83
92