* common.h: common definitions
* Collection of useful common types and macros definitions
*****************************************************************************
- * Copyright (C) 1998, 1999, 2000 VideoLAN
+ * Copyright (C) 1998-2004 VideoLAN
* $Id$
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
# define vlc_strncasecmp NULL
#endif
+#ifndef HAVE_STRCASESTR
+# ifdef HAVE_STRISTR
+# define strcasestr stristr
+# if !defined(__PLUGIN__)
+# define vlc_strcasestr NULL
+# endif
+# elif !defined(__PLUGIN__)
+# define strcasestr vlc_strcasestr
+ VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) );
+# endif
+#elif !defined(__PLUGIN__)
+# define vlc_strcasestr NULL
+#endif
+
/* Format type specifiers for 64 bits numbers */
#if !defined(WIN32) && !defined(UNDER_CE)
# define I64Fd "%lld"