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