~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/gettext.h

  • Committer: Monty Taylor
  • Date: 2008-11-16 05:36:13 UTC
  • mto: (584.1.9 devel)
  • mto: This revision was merged to the branch mainline in revision 589.
  • Revision ID: monty@inaugust.com-20081116053613-bld4rqxhlkb49c02
Split out cache_row and type_holder.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19
19
   USA.  */
20
20
 
21
 
#ifndef DRIZZLED_GETTEXT_H
22
 
#define DRIZZLED_GETTEXT_H
 
21
#ifndef _LIBGETTEXT_H
 
22
#define _LIBGETTEXT_H 1
23
23
 
24
24
/* NLS can be disabled through the configure --disable-nls option.  */
25
25
#if defined(ENABLE_NLS)
63
63
# endif
64
64
#endif
65
65
 
66
 
#ifndef gettext
67
66
/* Disabled NLS.
68
67
   The casts to 'const char *' serve the purpose of producing warnings
69
68
   for invalid uses of the value returned from these functions.
88
87
    ((void) (Domainname), (const char *) (Codeset))
89
88
 
90
89
#endif
91
 
#endif 
 
90
 
92
91
/* A pseudo function call that serves as a marker for the automated
93
92
   extraction of messages, but does not call gettext().  The run-time
94
93
   translation is done at a different place in the code.
274
273
 
275
274
#define _(String)  gettext(String)
276
275
#define N_(String) gettext_noop(String)
277
 
#endif /* DRIZZLED_GETTEXT_H */
 
276
#endif /* _LIBGETTEXT_H */