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