clean endian check

This commit is contained in:
vemax78 2013-05-02 18:38:38 +02:00
parent 01123ec594
commit ff305fcc3a
1 changed files with 3 additions and 7 deletions

View File

@ -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 */