On Mon, 1 Feb 2010 22:31:38 +0100 Uriel <lost.gob...@gmail.com> wrote:
> On Mon, Feb 1, 2010 at 2:20 PM, pancake <panc...@youterm.com> wrote: > > anonymous wrote: > >>> > >>> Having said that, in case of rfork vice versa from FreeBSD. > >>> > >> > >> Yes, I am talking about FreeBSD. With configure you can make your > >> program portable between FreeBSD and Linux. Most probably other > >> systems won't implement clone/rfork their own way so program will be > >> portable between all systems with some kind of rfork implementation. > >> > > > > in that specific case i would prefer to use __FreeBSD__ ifdef instead of a > > configure stage. > > This is totally and completely RETARDED. #ifdefs are a disgrace and > people that use them should be shot on sight. if you deny ifdefs for minimal portability fixes and deny configure options to specify OS or way to compile this program you are denying also portability and incrementing the complexity in development and structuration.