Opened 3 years ago

Closed 3 years ago

#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:


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

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

They should be unified if possible.

Change History (2)

comment:1 by Algunenano, 3 years ago

r17582 removed getMachineEndian()

comment:2 by pramsey, 3 years ago

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.