PostGIS  2.1.10dev-r@@SVN_REVISION@@
char getMachineEndian ( void  )

Definition at line 306 of file lwutil.c.

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

307 {
308  static int endian_check_int = 1; /* dont modify this!!! */
309 
310  return *((char *) &endian_check_int); /* 0 = big endian | xdr,
311  * 1 = little endian | ndr
312  */
313 }

Here is the caller graph for this function: