Commit f0c679e3 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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
parent 7250e1da
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)
2008-03-30 Matthias Clasen <mclasen@redhat.com>
* glib/ghash.c: Fix the build with -DG_DISABLE_ASSERT.
......@@ -6,7 +13,7 @@
2008-03-30 Matthias Clasen <mclasen@redhat.com>
* glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION
by G_STRFUNC. (#524344, Peter, Kjellerstedt)
by G_STRFUNC. (#524344, Peter Kjellerstedt)
2008-03-30 Matthias Clasen <mclasen@redhat.com>
......
......@@ -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
......
......@@ -42,11 +42,11 @@
#if !defined (HAVE_STRSIGNAL) || !defined(NO_SYS_SIGLIST_DECL)
#include <signal.h>
#endif
#include <libintl.h>
#include "glib.h"
#include "gprintf.h"
#include "gprintfint.h"
#include "glibintl.h"
#include "galias.h"
......
......@@ -36,7 +36,6 @@
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <libintl.h>
#include <locale.h>
#include <string.h>
#include <ctype.h> /* For tolower() */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment