mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Removed the value of LittleSwap/BigSwap on little-endian/big-endian
This commit is contained in:
parent
874b034698
commit
ee5faedaf9
1 changed files with 2 additions and 2 deletions
|
@ -430,7 +430,7 @@ void SwapValue(void* dest, size_t size);
|
|||
#define BigFloat
|
||||
#define BigShortPtr(x) ShortNoSwapPtr(&x)
|
||||
#define BigLongPtr(x) LongNoSwapPtr(&x)
|
||||
#define BigSwap(x, size) x
|
||||
#define BigSwap(x, size)
|
||||
|
||||
#elif defined( Q3_LITTLE_ENDIAN )
|
||||
|
||||
|
@ -444,7 +444,7 @@ void SwapValue(void* dest, size_t size);
|
|||
#define LittleShortPtr(x) ShortNoSwapPtr(&x)
|
||||
#define LittleLongPtr(x) LongNoSwapPtr(&x)
|
||||
#define LittleFloatPtr(x) FloatNoSwapPtr(&x)
|
||||
#define LittleSwap(x, size) x
|
||||
#define LittleSwap(x, size)
|
||||
|
||||
#define BigShort(x) ShortSwap(x)
|
||||
#define BigUnsignedShort(x) UnsignedShortSwap(x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue