Re: Plattformabh?ngig compilieren...

From: Harold Gutch <logix(at)foobar.franken.de>
Date: Wed, 2 Apr 2003 16:27:56 +0200

On Wed, Apr 02, 2003 at 03:42:27PM +0200, Tilo Riemer wrote:
> Hallo,
>
> weiss jemand, was man in einem C-Programm definieren muss, um zwischen
> FreeBSD, NetBSD, Linux, ... usw. unterscheiden zu koennen?

#ifdef __FreeBSD__
...
#endif
#ifdef __NetBSD__
...
#endif
#ifdef __linux__
...
#endif

bye,
  Harold

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 02 Apr 2003 - 16:28:13 CEST

search this site