blob: a1dc641cc067201ae2a7b0816358b2394b6362a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- vegastrike/src/endianness.h.orig 2004-05-08 20:41:15.000000000 +0200
+++ vegastrike/src/endianness.h 2004-05-08 21:45:29.000000000 +0200
@@ -42,7 +42,7 @@
(((uint32_t)(x) >> 8) & 0x0000FF00) | \
((uint32_t)(x) >> 24))
# define le16_to_cpu(x) (((x&0xFF)<<8) | ((unsigned short)(x)>>8))
- # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittle(x))
+ # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittleEndian(x))
# else
# define le32_to_cpu(x) (x)
# define le16_to_cpu(x) (x)
@@ -53,7 +53,7 @@
# include <byteswap.h>
# define le32_to_cpu(x) (bswap_32(x))
# define le16_to_cpu(x) (bswap_16(x))
- # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittle(x))
+ # define le64_to_cpu(x) (DONTUSE__NXSwapBigDoubleToLittleEndian(x))
#else
# define le32_to_cpu(x) (x)
# define le16_to_cpu(x) (x)
|