PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ getMachineEndian()

char getMachineEndian ( void  )

Definition at line 330 of file lwutil.c.

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

331 {
332  static int endian_check_int = 1; /* dont modify this!!! */
333 
334  return *((char *) &endian_check_int); /* 0 = big endian | xdr,
335  * 1 = little endian | ndr
336  */
337 }
Here is the caller graph for this function: