From: Rafaël Carré Date: Tue, 27 May 2008 11:04:10 +0000 (+0200) Subject: Do not use a GNU extension in public headers X-Git-Tag: 0.9.0-test0~643 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a095d6b7e60913054625b1b7fea710621586ebe9;p=vlc Do not use a GNU extension in public headers --- diff --git a/include/vlc_input.h b/include/vlc_input.h index 70bf2b42ca..fd87270794 100644 --- a/include/vlc_input.h +++ b/include/vlc_input.h @@ -35,7 +35,7 @@ #include #include -#include /* strcasestr() */ +#include /* strstr() */ struct vlc_meta_t; @@ -173,7 +173,7 @@ static inline bool input_item_MetaMatch( input_item_t *p_i, vlc_meta_type_t meta return false; } const char * meta = vlc_meta_Get( p_i->p_meta, meta_type ); - bool ret = meta && strcasestr( meta, psz ); + bool ret = meta && strstr( meta, psz ); vlc_mutex_unlock( &p_i->lock ); return ret;