Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 20 Jan 2002 11:41:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 20 Jan 2002 11:40:54 -0500 Received: from dell-paw-3.cambridge.redhat.com ([195.224.55.237]:29168 "EHLO passion.cambridge.redhat.com") by vger.kernel.org with ESMTP id ; Sun, 20 Jan 2002 11:40:42 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: David Woodhouse X-Accept-Language: en_GB In-Reply-To: In-Reply-To: To: Adrian Bunk Cc: Momchil Velikov , linux-kernel@vger.kernel.org Subject: Re: [PATCH] __linux__ and cross-compile Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Jan 2002 16:37:24 +0000 Message-ID: <2960.1011544644@redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org bunk@fs.tum.de said: > It's clear that code that is part of an "#ifndef __linux__" will > never be included on any other OS than Linux. True. But unfortunately that's not a useful guarantee. This code doesn't (normally) run _on_ Linux. It is _in_ Linux, and it's still possible that the offending code won't get included when it should. > Is this also garuanteed for "#ifndef __KERNEL__"? We think *BSD uses _KERNEL, and don't know of anything else which defines __KERNEL__ other than Linux. So he's switching from something that's known broken to something which we _believe_ will be reliable. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/