PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ getMachineEndian()

char getMachineEndian ( void  )

Definition at line 360 of file lwutil.c.

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

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