git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
include
/
sound
/
asound.h
diff --git
a/include/sound/asound.h
b/include/sound/asound.h
index
69dc182
..
23b27b7
100644
(file)
--- a/
include/sound/asound.h
+++ b/
include/sound/asound.h
@@
-33,13
+33,15
@@
#include <linux/time.h>
#include <asm/byteorder.h>
#include <linux/time.h>
#include <asm/byteorder.h>
-#if
__LITTLE_ENDIAN == 1234
+#if
def __LITTLE_ENDIAN
#define SNDRV_LITTLE_ENDIAN
#define SNDRV_LITTLE_ENDIAN
-#elif __BIG_ENDIAN == 4321
+#else
+#ifdef __BIG_ENDIAN
#define SNDRV_BIG_ENDIAN
#else
#error "Unsupported endian..."
#endif
#define SNDRV_BIG_ENDIAN
#else
#error "Unsupported endian..."
#endif
+#endif
#else /* !__KERNEL__ */
#else /* !__KERNEL__ */