X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fsound%2Fasound.h;h=69dc1829eba9b144bda3c1da8c9edc7223cbe6be;hb=5e3b93f248c98873cc843e83092bb8da92ac85a2;hp=23b27b73ab39e0f3f68e25b75a5324a43fd7b8b7;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/include/sound/asound.h b/include/sound/asound.h index 23b27b73a..69dc1829e 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -33,15 +33,13 @@ #include #include -#ifdef __LITTLE_ENDIAN +#if __LITTLE_ENDIAN == 1234 #define SNDRV_LITTLE_ENDIAN -#else -#ifdef __BIG_ENDIAN +#elif __BIG_ENDIAN == 4321 #define SNDRV_BIG_ENDIAN #else #error "Unsupported endian..." #endif -#endif #else /* !__KERNEL__ */