From owner-freebsd-current Tue Oct 7 14:27:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA24394 for current-outgoing; Tue, 7 Oct 1997 14:27:44 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from usr05.primenet.com (tlambert@usr05.primenet.com [206.165.6.205]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA24380 for ; Tue, 7 Oct 1997 14:27:40 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id OAA08786; Tue, 7 Oct 1997 14:27:19 -0700 (MST) From: Terry Lambert Message-Id: <199710072127.OAA08786@usr05.primenet.com> Subject: Re: how to detect different kernel code (select or poll) To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 7 Oct 1997 21:27:18 +0000 (GMT) Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <19971007085335.QS46081@uriah.heep.sax.de> from "J Wunsch" at Oct 7, 97 08:53:35 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Why don't you just test for > > #if __FreeBSD__ >= 3 > > ? All that does is test to see if the compiler was compiled on a FreeBSD version 3 system. Look at how __FreeBSD__ gets is value... 8-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.