From patchwork Sat May 28 16:55:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gerrit-no-reply@lists.osmocom.org X-Patchwork-Id: 627423 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.osmocom.org (lists.osmocom.org [IPv6:2a01:4f8:191:444b::2:7]) by ozlabs.org (Postfix) with ESMTP id 3rH8CK24SQz9t3q for ; Sun, 29 May 2016 02:55:41 +1000 (AEST) Received: from lists.osmocom.org (lists.osmocom.org [144.76.43.76]) by lists.osmocom.org (Postfix) with ESMTP id F139A65C2; Sat, 28 May 2016 16:55:35 +0000 (UTC) X-Original-To: openbsc@lists.osmocom.org Delivered-To: openbsc@lists.osmocom.org Received: from 127.0.1.12 (unknown [127.0.1.12]) by lists.osmocom.org (Postfix) with ESMTPA id 0E83B65BB; Sat, 28 May 2016 16:55:34 +0000 (UTC) Date: Sat, 28 May 2016 16:55:33 +0000 From: Holger Freyther Message-ID: X-Gerrit-MessageType: newchange Subject: [PATCH] libosmocore[master]: Fixing build on Mac OSX X-Gerrit-Change-Id: I67f9a1e41fa5b1da3a4b10fc76138e153b767241 X-Gerrit-ChangeURL: X-Gerrit-Commit: 56560ec62ce285dafe600a2693a61b450ff655f0 MIME-Version: 1.0 Content-Disposition: inline User-Agent: Gerrit/2.12.2-31-gb331dbd-dirty X-BeenThere: openbsc@lists.osmocom.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Development of OpenBSC, OsmoBSC, OsmoNITB, OsmoCSCN" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: holger@freyther.de Errors-To: openbsc-bounces@lists.osmocom.org Sender: "OpenBSC" 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 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