diff mbox

libosmocore[master]: Fixing build on Mac OSX

Message ID gerrit.1464454533952.I67f9a1e41fa5b1da3a4b10fc76138e153b767241@gerrit.osmocom.org
State New
Headers show

Commit Message

gerrit-no-reply@lists.osmocom.org May 28, 2016, 4:55 p.m. UTC
Review at  https://gerrit.osmocom.org/125

Fixing build on Mac OSX

Fix minor syntax error

Change-Id: I67f9a1e41fa5b1da3a4b10fc76138e153b767241
---
M include/osmocom/core/endian.h
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/25/125/1

Comments

gerrit-no-reply@lists.osmocom.org May 28, 2016, 4:59 p.m. UTC | #1
Patch Set 1: Code-Review+2
diff mbox

Patch

diff --git a/include/osmocom/core/endian.h b/include/osmocom/core/endian.h
index 02c6406..ae133c3 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