mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
Bug 548321 – <string.h> is not included in gi18n-lib.h
* glib/gi18n.h: * glib/gi18n-lib.h: Include string.h, since strlen is used in the macros. Pointed out by Ignacio Casal Quinteiro svn path=/branches/glib-2-16/; revision=7460
This commit is contained in:
parent
3590eb79a8
commit
66aaaf44eb
@ -1,3 +1,11 @@
|
||||
2008-09-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 548321 – <string.h> is not included in gi18n-lib.h
|
||||
|
||||
* glib/gi18n.h:
|
||||
* glib/gi18n-lib.h: Include string.h, since strlen is used in
|
||||
the macros. Pointed out by Ignacio Casal Quinteiro
|
||||
|
||||
2008-09-11 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Merge from trunk
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <glib/gstrfuncs.h>
|
||||
|
||||
#include <libintl.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifndef GETTEXT_PACKAGE
|
||||
#error You must define GETTEXT_PACKAGE before including gi18n-lib.h.
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#include <glib/gstrfuncs.h>
|
||||
#include <libintl.h>
|
||||
#include <string.h>
|
||||
|
||||
#define _(String) gettext (String)
|
||||
#define Q_(String) g_dpgettext (NULL, String, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user