From 80c2c8470e4eded4410026fb7ea5cd8e41f9a9a3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 30 Jan 2012 23:55:22 +0000 Subject: [PATCH] -ugh --- src/include/gnunet_common.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index d934c109e..7e6d20b15 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -70,10 +70,18 @@ #ifndef __BYTE_ORDER #ifdef _BYTE_ORDER #define __BYTE_ORDER _BYTE_ORDER -#define __LITTLE_ENDIAN _LITTLE_ENDIAN +#endif +#endif +#ifndef __BIG_ENDIAN +#ifdef _BIG_ENDIAN #define __BIG_ENDIAN _BIG_ENDIAN #endif #endif +#ifndef __LITTLE_ENDIAN +#ifdef _LITTLE_ENDIAN +#define __LITTLE_ENDIAN _LITTLE_ENDIAN +#endif +#endif /** * Endian operations -- 2.25.1