Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
711f2a1f
Commit
711f2a1f
authored
Aug 20, 2009
by
Pierre
Browse files
vlc_fixups: Better dummy implementation for type checking, and unused checks.
parent
0646affc
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/vlc_fixups.h
View file @
711f2a1f
...
...
@@ -154,9 +154,20 @@ static inline char *getenv (const char *name)
#ifndef HAVE_USELOCALE
typedef
void
*
locale_t
;
# define newlocale( a, b, c ) ((locale_t)0)
# define uselocale( a ) ((locale_t)0)
# define freelocale( a ) (void)0
static
inline
locale_t
uselocale
(
locale_t
loc
)
{
VLC_UNUSED
(
loc
);
return
NULL
;
}
static
inline
void
freelocale
(
locale_t
loc
)
{
VLC_UNUSED
(
loc
);
}
static
inline
locale_t
newlocale
(
int
mask
,
const
char
*
locale
,
locale_t
base
);
{
VLC_UNUSED
(
mask
);
VLC_UNUSED
(
locale
);
VLC_UNUSED
(
base
);
return
NULL
;
}
#endif
#ifdef WIN32
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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