mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Correct check for ACE_BIG_ENDIAN. Warning fixed and code cleanups.
This commit is contained in:
parent
843a0d7d02
commit
3e43600c3b
14 changed files with 60 additions and 57 deletions
|
|
@ -30,7 +30,7 @@
|
|||
#define MANGOS_BIGENDIAN 1
|
||||
|
||||
#if !defined(MANGOS_ENDIAN)
|
||||
# if ACE_BYTE_ORDER == ACE_BIG_ENDIAN
|
||||
# if defined (ACE_BIG_ENDIAN)
|
||||
# define MANGOS_ENDIAN MANGOS_BIGENDIAN
|
||||
# else //ACE_BYTE_ORDER != ACE_BIG_ENDIAN
|
||||
# define MANGOS_ENDIAN MANGOS_LITTLEENDIAN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue