Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2011 23:32:11 +0200
From:      Oliver Pinter <oliver.pntr@gmail.com>
To:        Robert Millan <rmh@debian.org>
Cc:        freebsd-hackers@freebsd.org, Ed Maste <emaste@freebsd.org>
Subject:   Re: [PATCH] fake pre-processor macros when building on non-FreeBSD system
Message-ID:  <CAPjTQNHazJ2qjWb219w4gUCGpiZZQgSFvYzTemEz9CSs6P-TDg@mail.gmail.com>
In-Reply-To: <CAOfDtXMMej_KORBt1PvAdAL7VvEkzXjpHM=eO_%2BLh=fP5OfWmQ@mail.gmail.com>
References:  <CAOfDtXNqydD_hyvo25Arkm=gdqVcSJB8RPfnFL9xozQfS=UeEQ@mail.gmail.com> <CAPjTQNFp8dQBKdFzhPAX1NZ2j%2BLSsffZkOurN0yEb4M%2BpD%2Buow@mail.gmail.com> <CAOfDtXMMej_KORBt1PvAdAL7VvEkzXjpHM=eO_%2BLh=fP5OfWmQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/12/11, Robert Millan <rmh@debian.org> wrote:
> 2011/7/12 Oliver Pinter <oliver.pntr@gmail.com>:
>> +.if ${OPSYS} != "FreeBSD"
>>
>> and what's the status example on NetBSD?
>
> I didn't think of it.  There are some instances of __NetBSD__ and also
> __OpenBSD__ in the kernel tree, and the same problem can be fixed for
> these two systems with minimal effort.
>
> Here's a new version of the patch, which also adds -U__NetBSD__ and
> -U__OpenBSD__ to CFLAGS.
>
> --
> Robert Millan
>

This seem like an ugly hack..
Please keep in your mind, FreeBSD is not linux; and I hope, never be



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