GEOS
3.3.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
geos
util
Machine.h
1
/**********************************************************************
2
* $Id$
3
*
4
* GEOS - Geometry Engine Open Source
5
* http://geos.refractions.net
6
*
7
* Copyright (C) 2001-2009 Vivid Solutions Inc.
8
*
9
* This is free software; you can redistribute and/or modify it under
10
* the terms of the GNU Lesser General Public Licence as published
11
* by the Free Software Foundation.
12
* See the COPYING file for more information.
13
*
14
**********************************************************************/
15
#ifndef GEOS_UTIL_MACHINE_H_INCLUDED
16
#define GEOS_UTIL_MACHINE_H_INCLUDED
17
22
inline
int
getMachineByteOrder()
23
{
24
static
int
endian_check = 1;
// don't modify !!
25
return
*((
char
*)&endian_check);
26
}
27
28
#endif
Generated on Thu Mar 13 2014 09:55:44 for GEOS by
1.8.1.2