From owner-freebsd-current Mon Oct 6 04:01:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA20642 for current-outgoing; Mon, 6 Oct 1997 04:01:31 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA20635 for ; Mon, 6 Oct 1997 04:01:20 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id EAA09934; Mon, 6 Oct 1997 04:01:14 -0700 (PDT) Message-ID: <19971006040114.07437@hydrogen.nike.efn.org> Date: Mon, 6 Oct 1997 04:01:14 -0700 From: John-Mark Gurney To: FreeBSD Current Subject: how to detect different kernel code (select or poll) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk what is the best way to conditionally compile code depending if select or poll is in the kernel? the problem is that Luigi does he coding on a 2.2.x box.. and my test machine is a -current box... what is the best way to get both select and poll code into his sound code? thanks for the help.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD