mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
closedcaption: fix build error in OSX
Fixes the following error by commenting an unused block. ./misc.h:503:11: error: 'strlcpy' macro redefined [-Werror,-Wmacro-redefined]
This commit is contained in:
parent
60983fcea9
commit
e73280782c
1 changed files with 4 additions and 2 deletions
|
@ -498,6 +498,7 @@ _vbi_time_max (void)
|
||||||
# define __va_copy(ap1, ap2) do { ap1 = ap2; } while (0)
|
# define __va_copy(ap1, ap2) do { ap1 = ap2; } while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
/* Use this instead of strncpy(). strlcpy() is a BSD extension. */
|
/* Use this instead of strncpy(). strlcpy() is a BSD extension. */
|
||||||
#ifndef HAVE_STRLCPY
|
#ifndef HAVE_STRLCPY
|
||||||
# define strlcpy _vbi_strlcpy
|
# define strlcpy _vbi_strlcpy
|
||||||
|
@ -510,6 +511,7 @@ _vbi_strlcpy (char * dst,
|
||||||
const char * src,
|
const char * src,
|
||||||
size_t size)
|
size_t size)
|
||||||
_vbi_nonnull ((1, 2));
|
_vbi_nonnull ((1, 2));
|
||||||
|
#endif
|
||||||
|
|
||||||
/* /\* strndup() is a BSD/GNU extension. *\/ */
|
/* /\* strndup() is a BSD/GNU extension. *\/ */
|
||||||
/* #ifndef HAVE_STRNDUP */
|
/* #ifndef HAVE_STRNDUP */
|
||||||
|
|
Loading…
Reference in a new issue