PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ is_bigendian()

static int is_bigendian ( void  )
static

Definition at line 581 of file pgsql2shp-core.c.

582 {
583  int test = 1;
584 
585  if ( (((char *)(&test))[0]) == 1)
586  {
587  return 0; /*NDR (little_endian) */
588  }
589  else
590  {
591  return 1; /*XDR (big_endian) */
592  }
593 }

Referenced by ShpDumperCreate().

Here is the caller graph for this function: