Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 May 2008 11:44:01 -0700
From:      Julian Elischer <julian@elischer.org>
To:        stevefranks@ieee.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: correct #define in source to specify FBSD vs. linux?
Message-ID:  <48249B71.3050804@elischer.org>
In-Reply-To: <539c60b90805091103u2c8907a6q83cdca69fb45888e@mail.gmail.com>
References:  <539c60b90805091103u2c8907a6q83cdca69fb45888e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Franks wrote:
> Seems there is a more appropriate list for my earlier question to
> freebsd-questions:
> 
> On and on I charge porting linux engineering tools.  Major pita.  I
> see a bunch of #ifdef __APPLE__ lines to pull in alternate headers;
> what's the equiv for FreeBSD?

__FreeBSD__
but it is more fine grained than that..
http://www.freebsd.org/doc/en/books/porters-handbook/porting-versions.html
(and the next page)

maybe you should read the entire porter's handbook :-)

> 
> Thanks,
> Steve
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48249B71.3050804>