diff options
-rw-r--r-- | include/osmocom/core/endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/endian.h b/include/osmocom/core/endian.h index 02c6406d..ae133c39 100644 --- a/include/osmocom/core/endian.h +++ b/include/osmocom/core/endian.h @@ -28,7 +28,7 @@ #if defined(__DARWIN_LITTLE_ENDIAN) #define OSMO_IS_LITTLE_ENDIAN 1 #define OSMO_IS_BIG_ENDIAN 0 - #elif define(__DARWIN_BIG_ENDIAN) + #elif defined(__DARWIN_BIG_ENDIAN) #define OSMO_IS_LITTLE_ENDIAN 0 #define OSMO_IS_BIG_ENDIAN 1 #else |