[Flac-dev] src/test_streams/main.c: swap16()
Josh Coalson
xflac at yahoo.com
Thu Oct 25 11:44:06 PDT 2001
patched and checked in. thanks
Josh
--- Christian Weisgerber <naddy at mips.inka.de> wrote:
> OpenBSD defines a swap16() macro in <sys/endian.h> which propagates
> through <sys/types.h> into <sys/time.h>.
>
> --- src/test_streams/main.c.orig Thu Oct 25 15:18:25 2001
> +++ src/test_streams/main.c Thu Oct 25 15:20:43 2001
> @@ -38,6 +38,9 @@
>
> static FLAC__bool is_big_endian_host;
>
> +#ifdef swap16
> +#undef swap16
> +#endif
> static void swap16(FLAC__int16 *i)
> {
> unsigned char *x = (unsigned char *)i, b;
> --
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
More information about the Flac-dev
mailing list