~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/gettext.h

  • Committer: Brian Aker
  • Date: 2010-05-27 01:25:56 UTC
  • mfrom: (1567.1.4 new-staging)
  • Revision ID: brian@gaz-20100527012556-5zgkirkl7swbigd6
Merge of Brian, Paul. PBXT compile issue, and test framework cleanup. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Convenience header for conditional use of GNU <libintl.h>.
 
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
 
2
   vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
 
3
   Convenience header for conditional use of GNU <libintl.h>.
2
4
   Copyright (C) 1995-1998, 2000-2002, 2004-2006 Free Software Foundation, Inc.
3
5
 
4
6
   This program is free software; you can redistribute it and/or modify it
16
18
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
17
19
   USA.  */
18
20
 
19
 
#ifndef _LIBGETTEXT_H
20
 
#define _LIBGETTEXT_H 1
 
21
#ifndef DRIZZLED_GETTEXT_H
 
22
#define DRIZZLED_GETTEXT_H
21
23
 
22
24
/* NLS can be disabled through the configure --disable-nls option.  */
23
25
#if defined(ENABLE_NLS)
61
63
# endif
62
64
#endif
63
65
 
 
66
#ifndef gettext
64
67
/* Disabled NLS.
65
68
   The casts to 'const char *' serve the purpose of producing warnings
66
69
   for invalid uses of the value returned from these functions.
85
88
    ((void) (Domainname), (const char *) (Codeset))
86
89
 
87
90
#endif
88
 
 
 
91
#endif 
89
92
/* A pseudo function call that serves as a marker for the automated
90
93
   extraction of messages, but does not call gettext().  The run-time
91
94
   translation is done at a different place in the code.
271
274
 
272
275
#define _(String)  gettext(String)
273
276
#define N_(String) gettext_noop(String)
274
 
#endif /* _LIBGETTEXT_H */
 
277
#endif /* DRIZZLED_GETTEXT_H */