clean endian check
This commit is contained in:
parent
01123ec594
commit
ff305fcc3a
@ -17,14 +17,10 @@
|
||||
#include <net/if.h>
|
||||
|
||||
/* Endian */
|
||||
#ifdef WIN32
|
||||
#define CAPWAP_LITTLE_ENDIAN
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
#define CAPWAP_BIG_ENDIAN
|
||||
#else
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
#define CAPWAP_BIG_ENDIAN
|
||||
#else
|
||||
#define CAPWAP_LITTLE_ENDIAN
|
||||
#endif
|
||||
#define CAPWAP_LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
/* Min & Max */
|
||||
|
Loading…
Reference in New Issue
Block a user