Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
835bf800
Commit
835bf800
authored
Jan 08, 2004
by
Laurent Aimar
Browse files
* all: correct test for vasprintf.
parent
8613e3a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
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/0
7 23:39:40
fenrir Exp $
* $Id: vlc_common.h,v 1.9
9
2004/01/0
8 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
n
def
HAVE_VASPRINTF
#if
!
def
ined(
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/0
7 23:39:41
fenrir Exp $
* $Id: libc.c,v 1.1
2
2004/01/0
8 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
Supports
Markdown
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