Update of bug #15641 (project freeciv):

                Category:              client-sdl => general                
                  Status:                    None => Ready For Test         
         Planned Release:                         => 3.0.0                  

    _______________________________________________________

Follow-up Comment #1:

While I don't think we currently support any system where runtime endianness
check would be needed, it's probably a good idea to have the logic for it in
just one place in case it will be needed in the future.

Attached patch adds inline is_bigendian() that always, for a given build,
returns the same value. Any compiler knows to optimize it away, along with
never-true branches when it's used as a guard.

(file #24021)
    _______________________________________________________

Additional Item Attachment:

File name: IsBigendian.patch              Size:15 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15641>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to