Re: [Dri-devel] Configuration per application

2003-06-25 Thread Philip Brown
On Tue, Jun 24, 2003 at 10:01:47PM +1000, Damien Miller wrote: > Felix Kühling wrote: > > Hi, > > > > I have some questions about OS specific ways to find out the name of a > > running programme outside function main. > > extern chat *__progname; > > works on OpenBSD, NetBSD and Linux. it defi

Re: [Dri-devel] Configuration per application

2003-06-25 Thread Felix Kühling
On Tue, 24 Jun 2003 13:32:22 +0200 Felix Kühling <[EMAIL PROTECTED]> wrote: [snip] > 2) (How) can one check for specific *BSD versions via #if ? I found some more info on http://predef.sourceforge.net/preos.html, http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-versions.h

Re: [Dri-devel] Configuration per application

2003-06-25 Thread Felix Kühling
On Tue, 24 Jun 2003 22:01:47 +1000 Damien Miller <[EMAIL PROTECTED]> wrote: > Felix Kühling wrote: > > Hi, > > > > I have some questions about OS specific ways to find out the name of a > > running programme outside function main. > > extern chat *__progname; > > works on OpenBSD, NetBSD and L

Re: [Dri-devel] Configuration per application

2003-06-24 Thread Damien Miller
Felix Kühling wrote: > Hi, > > I have some questions about OS specific ways to find out the name of a > running programme outside function main. extern chat *__progname; works on OpenBSD, NetBSD and Linux. -d --- This SF.Net email is spon