[Olsr-dev] changing 'linux' macro to __linux__ or __gnu_linux__

Henning Rogge (spam-protected)
Fri Feb 3 09:12:07 CET 2012

On 02/02/2012 05:23 PM, Ferry Huberts wrote:
> On 01-02-12 20:56, Hans-Christoph Steiner wrote:
>> If people are amenable, I'll post a patch. This isn't so much to fix a
>> specific issue now, but rather to prevent issues from arising in the
>> future.
> it fixes nothing.
> fix issues when they arise.
The "fix issues when they arise" was one of the reason I started doing a 
clean rewrite of lots of basic code in OLSRd. If you don't clean up the 
code and refactor it from time to time, you end up with working code 
that is very hard to maintain.

So yes, I would be interested in a sane solution for the platform 
dependent macros. I hope we can get rid of most of them, but maybe a few 
of them will have to stay.

Henning Rogge

Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6156 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120203/d2c52277/attachment.bin>

More information about the Olsr-dev mailing list