From patchwork Sat May 28 16:59:57 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: 627426 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.osmocom.org (lists.osmocom.org [144.76.43.76]) by ozlabs.org (Postfix) with ESMTP id 3rH8JJ3850z9s9Z for ; Sun, 29 May 2016 03:00:00 +1000 (AEST) Received: from lists.osmocom.org (lists.osmocom.org [144.76.43.76]) by lists.osmocom.org (Postfix) with ESMTP id 9A3076608; Sat, 28 May 2016 16:59:58 +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 2516565EF; Sat, 28 May 2016 16:59:57 +0000 (UTC) Date: Sat, 28 May 2016 16:59:57 +0000 From: Holger Freyther X-Gerrit-MessageType: merged Subject: [MERGED] libosmocore[master]: Fixing build on Mac OSX X-Gerrit-Change-Id: I67f9a1e41fa5b1da3a4b10fc76138e153b767241 X-Gerrit-ChangeURL: X-Gerrit-Commit: e4c294f79b8df9a2a36a630d97f8dc7ed206c7d6 In-Reply-To: References: 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" Message-Id: <20160528165958.9A3076608@lists.osmocom.org> Holger Freyther has submitted this change and it was merged. Change subject: Fixing build on Mac OSX ...................................................................... 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 --- M include/osmocom/core/endian.h 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified Holger Freyther: Looks good to me, approved 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