Mercurial > mplayer.hg
view libdvdread/bswap.h @ 27897:b380685ef564
On Darwin, don't use hostinfo on _all_ x86 variants to detect the running CPU,
use cpuinfo instead.
This allows MPlayer to get one step closer to building in 64 bits mode on Darwin,
if one passes --target=x86_64-darwin to configure.
author | gpoirier |
---|---|
date | Sat, 15 Nov 2008 20:37:08 +0000 |
parents | ea01824701a5 |
children |
line wrap: on
line source
#ifndef DVDREAD_BSWAP_H #define DVDREAD_BSWAP_H #include "libavutil/bswap.h" #ifdef WORDS_BIGENDIAN #define B2N_16(x) #define B2N_32(x) #define B2N_64(x) #else #define B2N_16(x) x = bswap_16(x) #define B2N_32(x) x = bswap_32(x) #define B2N_64(x) x = bswap_64(x) #endif #endif