[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zebra
Subject:    [zebra 152] Re: htonl
From:       kunihiro () zebra ! org
Date:       1998-10-23 7:35:02
[Download RAW message or body]

Hi, this is Kunihiro.

>When compiling without -O2 on a linux 2.1.x kernel, htonl and friends
>are not defined properly. We have "solved" this in arla by detecting
>this and applying some workaround defines. I have created a file
>called roken.h (the name roken comes from the libroken package) which
>contains the defines. This is a good place to place workarounds for
>broken systems.
>
>This is the best solution I can think of, since the Linux people have
>done optimization dependent #ifdefs.

Thanks I've just merged your patch to snapshot CVS tree.

I hope linux kernel properly deal with htonl function under -O2 ;-)
--
Kunihiro Ishiguro

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic