Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4801c504
Commit
4801c504
authored
May 27, 2009
by
panelpc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport gettext->vlc_gettext to fix --enable-live555 compile.
parent
c330ec82
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
9 deletions
+3
-9
include/vlc_fixups.h
include/vlc_fixups.h
+2
-5
src/extras/getopt.c
src/extras/getopt.c
+1
-1
src/extras/libc.c
src/extras/libc.c
+0
-1
src/libvlc.c
src/libvlc.c
+0
-1
src/modules/entry.c
src/modules/entry.c
+0
-1
No files found.
include/vlc_fixups.h
View file @
4801c504
...
...
@@ -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
...
...
src/extras/getopt.c
View file @
4801c504
...
...
@@ -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
...
...
src/extras/libc.c
View file @
4801c504
...
...
@@ -192,7 +192,6 @@ int vlc_wclosedir( void *_p_dir )
}
#ifdef ENABLE_NLS
# undef gettext
# include <libintl.h>
#endif
...
...
src/libvlc.c
View file @
4801c504
...
...
@@ -67,7 +67,6 @@
#endif
#ifdef ENABLE_NLS
# undef gettext
# include <libintl.h>
/* bindtextdomain */
#endif
...
...
src/modules/entry.c
View file @
4801c504
...
...
@@ -29,7 +29,6 @@
#include <stdarg.h>
#ifdef ENABLE_NLS
# undef gettext
# include <libintl.h>
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment