Commit 5e40e69a authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* fix the defines for strcasecmp strncasecmp and strcasestr

parent f9f6da51
...@@ -726,42 +726,42 @@ static inline void _SetQWLE( uint8_t *p, uint64_t i_qw ) ...@@ -726,42 +726,42 @@ static inline void _SetQWLE( uint8_t *p, uint64_t i_qw )
#endif #endif
#ifndef HAVE_STRCASECMP #ifndef HAVE_STRCASECMP
# ifdef HAVE_STRICMP # ifndef HAVE_STRICMP
# define strcasecmp vlc_strcasecmp
VLC_EXPORT( int, vlc_strcasecmp, ( const char *s1, const char *s2 ) );
# else
# define strcasecmp stricmp # define strcasecmp stricmp
# if !defined(__PLUGIN__) # if !defined(__PLUGIN__)
# define vlc_strcasecmp NULL # define vlc_strcasecmp NULL
# endif # endif
# elif !defined(__PLUGIN__)
# define strcasecmp vlc_strcasecmp
VLC_EXPORT( int, vlc_strcasecmp, ( const char *s1, const char *s2 ) );
# endif # endif
#elif !defined(__PLUGIN__) #elif !defined(__PLUGIN__)
# define vlc_strcasecmp NULL # define vlc_strcasecmp NULL
#endif #endif
#ifndef HAVE_STRNCASECMP #ifndef HAVE_STRNCASECMP
# ifdef HAVE_STRNICMP # ifndef HAVE_STRNICMP
# define strncasecmp vlc_strncasecmp
VLC_EXPORT( int, vlc_strncasecmp, ( const char *s1, const char *s2, size_t n ) );
# else
# define strncasecmp strnicmp # define strncasecmp strnicmp
# if !defined(__PLUGIN__) # if !defined(__PLUGIN__)
# define vlc_strncasecmp NULL # define vlc_strncasecmp NULL
# endif # endif
# elif !defined(__PLUGIN__)
# define strncasecmp vlc_strncasecmp
VLC_EXPORT( int, vlc_strncasecmp, ( const char *s1, const char *s2, size_t n ) );
# endif # endif
#elif !defined(__PLUGIN__) #elif !defined(__PLUGIN__)
# define vlc_strncasecmp NULL # define vlc_strncasecmp NULL
#endif #endif
#ifndef HAVE_STRCASESTR #ifndef HAVE_STRCASESTR
# ifdef HAVE_STRISTR # ifndef HAVE_STRISTR
# define strcasestr vlc_strcasestr
VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) );
# else
# define strcasestr stristr # define strcasestr stristr
# if !defined(__PLUGIN__) # if !defined(__PLUGIN__)
# define vlc_strcasestr NULL # define vlc_strcasestr NULL
# endif # endif
# elif !defined(__PLUGIN__)
# define strcasestr vlc_strcasestr
VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) );
# endif # endif
#elif !defined(__PLUGIN__) #elif !defined(__PLUGIN__)
# define vlc_strcasestr NULL # define vlc_strcasestr NULL
......
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