site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kbEzAUdxZAEFXRAWc8nFWeQWF+3yV3G6+9pSkHPCmaQ=; b=xu0xYKKLspueuYQCJnl5Cn0V8wKcVE6Q7AsHdTM987lEtBW+C5UMjIsxYzGzzinHyN Zbd8iyF7GI9sjtmMRlltIG0TBfHel7rwkft1t2M0I3fwHQlR7tpPnP1QX4YiK2iRGxLF smwYxDqEg+0hBujsjzMURagigqN142pgwrYds= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BOTnlsDPQSZ/+852EK0UZioO8HRGLKkktZeg01njqs/+lC+y9UWqqh8pRRSSWviOYs P3M7MaMLuJJ2k50G8j8u17fZ5edGTkVUbDhbwjA+E0GIETbJHUuss8lL3WG4c2XXXZ2q jLXnfAeBNkPhT5Fjf7PF+IiKuaMteE1kAkKq8= On Mon, Nov 10, 2008 at 5:48 AM, Iceberg-Dev <dev.iceberg@gmail.com> wrote:
#if BYTE_ORDER==LITTLE_ENDIAN tMagicCookie=CFSwapInt32(tMagicCookie); #endif
Instead of these preprocessor checks, why not just do: tMagicCookie =CFSwapInt32BigToHost(tMagicCookie); -- Clark S. Cox III clarkcox3@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com