Commit a0e5fe35 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix symbols list, fix linking on platforms that DO have strnlen

parent d5d9b5b3
...@@ -40,6 +40,10 @@ ...@@ -40,6 +40,10 @@
# define strndup vlc_strndup # define strndup vlc_strndup
#endif #endif
#ifndef HAVE_STRNLEN
# define strnlen vlc_strnlen
#endif
#ifndef HAVE_STRLCPY #ifndef HAVE_STRLCPY
# define strlcpy vlc_strlcpy # define strlcpy vlc_strlcpy
#endif #endif
......
...@@ -51,10 +51,6 @@ ...@@ -51,10 +51,6 @@
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#if !defined( strnlen )
#define strnlen vlc_strnlen
#endif
/***************************************************************************** /*****************************************************************************
* Module descriptor. * Module descriptor.
*****************************************************************************/ *****************************************************************************/
......
...@@ -436,6 +436,7 @@ vlc_strdup ...@@ -436,6 +436,7 @@ vlc_strdup
vlc_strlcpy vlc_strlcpy
vlc_strncasecmp vlc_strncasecmp
vlc_strndup vlc_strndup
vlc_strnlen
vlc_strtoll vlc_strtoll
vlc_submodule_create vlc_submodule_create
__vlc_thread_create __vlc_thread_create
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment