#4439 closed enhancement (fixed)

Unify methods to check machine endianness

Reported by: Algunenano Owned by: pramsey
Priority: medium Milestone: PostGIS 3.0.0
Component: postgis Version: master
Keywords: Cc:

Description

We have several methods to check machine endianness, some at compile time and some at runtime, e.g:

  • getMachineEndian()
  • is_bigendian()
  • WORDS_BIGENDIAN
  • SHPOpenLL() uses bBigEndian

They should be unified if possible.

Change History (2)

comment:1 Changed 13 months ago by Algunenano

r17582 removed getMachineEndian()

comment:2 Changed 12 months ago by pramsey

Resolution: fixed
Status: newclosed

In 17740:

Change run-time endianness checks to compile-time
Leave 3rd party code unchanged
Closes #4439

Note: See TracTickets for help on using tickets.