mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 10:30:03 +01:00
Hint about having to include config.h
2008-08-12 Federico Mena Quintero <federico@novell.com> * glib/gi18n-lib.h: In the #error about having to define GETTEXT_PACKAGE, add a hint about a possibly-missing config.h. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=7343
This commit is contained in:
parent
9fcae125a0
commit
70323cf694
@ -1,3 +1,8 @@
|
||||
2008-08-12 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
* glib/gi18n-lib.h: In the #error about having to define
|
||||
GETTEXT_PACKAGE, add a hint about a possibly-missing config.h.
|
||||
|
||||
2008-08-11 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
Bug 547200 – g_utf8_find_next_char() issues
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <libintl.h>
|
||||
|
||||
#ifndef GETTEXT_PACKAGE
|
||||
#error You must define GETTEXT_PACKAGE before including gi18n-lib.h.
|
||||
#error You must define GETTEXT_PACKAGE before including gi18n-lib.h. Did you forget to include config.h?
|
||||
#endif
|
||||
|
||||
#define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))
|
||||
|
Loading…
x
Reference in New Issue
Block a user