From owner-freebsd-geom@FreeBSD.ORG Tue Jun 14 11:07:42 2011 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DADD6106564A; Tue, 14 Jun 2011 11:07:42 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id A36598FC17; Tue, 14 Jun 2011 11:07:42 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:848:c998:a495:5cb9]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 43D264AC1C; Tue, 14 Jun 2011 15:07:41 +0400 (MSD) Date: Tue, 14 Jun 2011 15:07:38 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <399050076.20110614150738@serebryakov.spb.ru> To: freebsd-geom@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: mav@FreeBSD.org Subject: How third-party GEOM modules should distinguish betwee systems with and without g_compare_names()? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2011 11:07:42 -0000 Hello, Freebsd-geom. __FreeBSD_version was not changed (I'm looking at r221100 and r222920), new API is function not #define, so there is no way to check it presence with preprocessor. Any other ideas? --=20 // Black Lion AKA Lev Serebryakov