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
0b06fc57
Commit
0b06fc57
authored
Jun 11, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blind attempt at fixing the libintl/g++-4.2 problem
parent
e39bc8a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
include/vlc_fixups.h
include/vlc_fixups.h
+0
-2
src/extras/libc.c
src/extras/libc.c
+4
-0
src/modules/entry.c
src/modules/entry.c
+3
-0
No files found.
include/vlc_fixups.h
View file @
0b06fc57
...
...
@@ -230,8 +230,6 @@ typedef void *locale_t;
#if defined (ENABLE_NLS)
# include <libintl.h>
#else
# define dgettext(dom, str) ((char *)(str))
#endif
#define N_(str) gettext_noop (str)
...
...
src/extras/libc.c
View file @
0b06fc57
...
...
@@ -327,7 +327,11 @@ int vlc_wclosedir( void *_p_dir )
*/
char
*
vlc_gettext
(
const
char
*
msgid
)
{
#ifdef ENABLE_NLS
return
dgettext
(
PACKAGE_NAME
,
msgid
);
#else
return
(
char
*
)
msgid
;
#endif
}
/*****************************************************************************
...
...
src/modules/entry.c
View file @
0b06fc57
...
...
@@ -31,6 +31,9 @@
#include "modules/modules.h"
#include "config/configuration.h"
#include "libvlc.h"
#ifndef ENABLE_NLS
# define dgettext(d, m) ((char *)(m))
#endif
static
const
char
default_name
[]
=
"unnamed"
;
...
...
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