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