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