aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core
diff options
context:
space:
mode:
authorBeshr Al Nahas <beshr.ns@gmail.com>2016-05-28 14:21:13 +0200
committerHolger Freyther <holger@freyther.de>2016-05-28 16:59:56 +0000
commite4c294f79b8df9a2a36a630d97f8dc7ed206c7d6 (patch)
treed779a10324338a8044063ade3124b7e7bbc6f2b8 /include/osmocom/core
parent029f5a1c0d30bbd605f62f0c535e920e8c37ca92 (diff)
Fixing build on Mac OSX
Fix minor syntax error Change-Id: I67f9a1e41fa5b1da3a4b10fc76138e153b767241 Reviewed-on: https://gerrit.osmocom.org/125 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther <holger@freyther.de>
Diffstat (limited to 'include/osmocom/core')
-rw-r--r--include/osmocom/core/endian.h2
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