Opened 6 years ago

Closed 5 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:

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 by Algunenano, 5 years ago

r17582 removed getMachineEndian()

comment:2 by pramsey, 5 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.