Subject: Re: Detecting statvfs without autoconf
To: Christoph Kaegi <>
From: Hubert Feyrer <>
List: tech-userlevel
Date: 01/05/2006 09:44:42
On Thu, 5 Jan 2006, Christoph Kaegi wrote:
> What is the best way (i.e. most automatic way) for deciding which
> one to use? I don't want to use autoconf at this time.

Um, #include <sys/param.h> and then find the right value of 
__NetBSD_Version__ to check against...

 	#if __NetBSD_Version__ <= 200030000

Untested, of course, but the 200030000 should be pretty close!

  - Hubert