Commit 4801c504 authored by panelpc's avatar panelpc

Backport gettext->vlc_gettext to fix --enable-live555 compile.

parent c330ec82
......@@ -175,11 +175,8 @@ typedef void *locale_t;
#endif
/* libintl support */
#define _(str) gettext(str)
#define gettext(str) vlc_gettext (str)
#define pgettext(ctx,id) vlc_pgettext(ctx,id)
#define N_(str) gettext_noop (str)
#define _(str) vlc_gettext (str)
#define N_(str) gettext_noop (str)
#define gettext_noop(str) (str)
#ifndef HAVE_SWAB
......
......@@ -93,7 +93,7 @@
When compiling libc, the _ macro is predefined. */
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#define _(msgid) gettext (msgid)
#define _(msgid) vlc_gettext (msgid)
#else
#define _(msgid) (msgid)
#endif
......
......@@ -192,7 +192,6 @@ int vlc_wclosedir( void *_p_dir )
}
#ifdef ENABLE_NLS
# undef gettext
# include <libintl.h>
#endif
......
......@@ -67,7 +67,6 @@
#endif
#ifdef ENABLE_NLS
# undef gettext
# include <libintl.h> /* bindtextdomain */
#endif
......
......@@ -29,7 +29,6 @@
#include <stdarg.h>
#ifdef ENABLE_NLS
# undef gettext
# include <libintl.h>
#endif
......
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