[MPlayer-dev-eng] Re: [PATCH] af_ambisonic
Rich Felker
dalias at aerifal.cx
Thu Apr 19 02:50:00 CEST 2007
On Wed, Apr 18, 2007 at 03:24:37PM +0200, Alex Beregszaszi wrote:
> Hi,
>
> > >> +#if defined(_WIN32) && !defined (__CYGWIN__)
> > >> +static char* strsep(char** haystack, char *needle)
> > > what does this do?
> >
> > It was actually a surprise to see there is no strsep(3) in mingw, so I
> > reimplemented it.
>
> In the case you can't live without it, the proper place is at osdep/ for
> the strsep implementation. And don't forget adding configure checks.
This function is sufficiently trivial that just always rolling our own
is better than slowing down configure with checks.
Rich
More information about the MPlayer-dev-eng
mailing list