From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJed1-0007I0-Sz for qemu-devel@nongnu.org; Sat, 12 Dec 2009 21:56:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJecx-0007Fj-3e for qemu-devel@nongnu.org; Sat, 12 Dec 2009 21:56:11 -0500 Received: from [199.232.76.173] (port=45233 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJecx-0007FZ-05 for qemu-devel@nongnu.org; Sat, 12 Dec 2009 21:56:07 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:32775) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJecw-0000fC-DR for qemu-devel@nongnu.org; Sat, 12 Dec 2009 21:56:06 -0500 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 13 Dec 2009 03:55:33 +0100 Message-Id: <1260672941-9365-4-git-send-email-andreas.faerber@web.de> In-Reply-To: <1260672941-9365-3-git-send-email-andreas.faerber@web.de> References: <1260672941-9365-1-git-send-email-andreas.faerber@web.de> <1260672941-9365-2-git-send-email-andreas.faerber@web.de> <1260672941-9365-3-git-send-email-andreas.faerber@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: andreas.faerber@web.de Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 03/11] Cocoa: Silence warning on Big Endian host List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: John Arbuckle , =?UTF-8?q?Andreas=20F=C3=A4rber?= __LITTLE_ENDIAN__ is undefined on Big Endian host. Signed-off-by: Andreas F=C3=A4rber Cc: John Arbuckle --- cocoa.m | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cocoa.m b/cocoa.m index f80a70b..f8c2e00 100644 --- a/cocoa.m +++ b/cocoa.m @@ -319,7 +319,7 @@ static int cocoa_keycode_to_qemu(int keycode) screen.bitsPerComponent, //bitsPerComponent screen.bitsPerPixel, //bitsPerPixel (screen.width * (screen.bitsPerComponent/2)), //bytesPerRow -#if __LITTLE_ENDIAN__ +#ifdef __LITTLE_ENDIAN__ CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB), //color= space for OS X >=3D 10.4 kCGBitmapByteOrder32Little | kCGImageAlphaNoneSkipFirst, #else --=20 1.6.5.3