Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
835bf800
Commit
835bf800
authored
Jan 08, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: correct test for vasprintf.
parent
8613e3a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
include/vlc_common.h
include/vlc_common.h
+2
-2
src/extras/libc.c
src/extras/libc.c
+2
-2
No files found.
include/vlc_common.h
View file @
835bf800
...
...
@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: vlc_common.h,v 1.9
8 2004/01/07 23:39:40
fenrir Exp $
* $Id: vlc_common.h,v 1.9
9 2004/01/08 10:27:06
fenrir Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
...
...
@@ -612,7 +612,7 @@ static inline uint64_t GetQWLE( void * _p )
# define vlc_strdup NULL
#endif
#if
ndef HAVE_VASPRINTF
#if
!defined(HAVE_VASPRINTF) || defined(SYS_DARWIN) || defined(SYS_BEOS)
# define vasprintf vlc_vasprintf
VLC_EXPORT
(
char
*
,
vlc_vasprintf
,
(
const
char
*
s
)
);
#elif !defined(__PLUGIN__)
...
...
src/extras/libc.c
View file @
835bf800
...
...
@@ -2,7 +2,7 @@
* libc.c: Extra libc function for some systems.
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: libc.c,v 1.1
1 2004/01/07 23:39:41
fenrir Exp $
* $Id: libc.c,v 1.1
2 2004/01/08 10:27:07
fenrir Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -130,7 +130,7 @@ int vlc_strncasecmp( const char *s1, const char *s2, size_t n )
/*****************************************************************************
* vasprintf:
*****************************************************************************/
#if !defined(
HAVE_VASPRINTF
)
#if !defined(
HAVE_VASPRINTF) || defined(SYS_DARWIN) || defined(SYS_BEOS
)
int
vlc_vasprintf
(
char
**
strp
,
const
char
*
fmt
,
va_list
ap
)
{
/* Guess we need no more than 100 bytes. */
...
...
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