PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ getMachineEndian()

char getMachineEndian ( void  )

Definition at line 358 of file lwutil.c.

Referenced by lwgeom_from_wkb_state(), lwgeom_to_wkb(), and wkb_swap_bytes().

359 {
360  static int endian_check_int = 1; /* dont modify this!!! */
361 
362  return *((char *) &endian_check_int); /* 0 = big endian | xdr,
363  * 1 = little endian | ndr
364  */
365 }
Here is the caller graph for this function: