From 7bc6a833e9e194272ff7451997b041ec61f2798c Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Mon, 30 Dec 2002 20:53:05 +0000 Subject: Fix compilation of external modules CVS patchset: 3732 CVS date: 2002/12/30 20:53:05 --- src/xine-utils/xineutils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index b3bff7e70..95327b53a 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.30 2002/12/22 00:35:05 komadori Exp $ + * $Id: xineutils.h,v 1.31 2002/12/30 20:53:05 esnel Exp $ * */ #ifndef XINEUTILS_H @@ -625,7 +625,7 @@ void xine_strdupa(char *dest, char *src); } while(0) /* Shamefully copied from glibc 2.2.3 */ -#ifdef HAVE_STRPBRK +#if defined(HAVE_STRPBRK) || !defined(XINE_COMPILE) #define xine_strpbrk strpbrk #else static inline char *_x_strpbrk(const char *s, const char *accept) { @@ -643,7 +643,7 @@ static inline char *_x_strpbrk(const char *s, const char *accept) { #define xine_strpbrk _x_strpbrk #endif -#ifdef HAVE_STRSEP +#if defined(HAVE_STRSEP) || !defined(XINE_COMPILE) #define xine_strsep strsep #else static inline char *_x_strsep(char **stringp, const char *delim) { @@ -683,7 +683,7 @@ static inline char *_x_strsep(char **stringp, const char *delim) { #endif -#ifdef HAVE_SETENV +#if defined(HAVE_SETENV) || !defined(XINE_COMPILE) #define xine_setenv setenv #else static inline void _x_setenv(const char *name, const char *val, int _xx) -- cgit v1.2.3