Simple fixes to help building GLib on embedded systems without NLS.

2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/glibintl.h:
        * glib/gstrfuncs.c:
        * glib/gutils.c: Simple fixes to help building GLib on
        embedded systems without NLS.  (#524350, Peter Kjellerstedt)

svn path=/trunk/; revision=6779
This commit is contained in:
Matthias Clasen
2008-03-31 03:52:57 +00:00
committed by Matthias Clasen
parent 7250e1dafd
commit f0c679e3bf
4 changed files with 10 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ G_CONST_RETURN gchar *glib_gettext (const gchar *str);
#define gettext(String) (String)
#define dgettext(Domain,String) (String)
#define dcgettext(Domain,String,Type) (String)
#define dngettext(Domain,String1,String2,N) ((N) == 1 ? (String1) : (String2))
#define bindtextdomain(Domain,Directory) (Domain)
#endif