2014-07-22 00:36:47 +08:00
|
|
|
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2004 Robert Osfield
|
|
|
|
*
|
|
|
|
* This library is open source and may be redistributed and/or modified under
|
|
|
|
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
|
|
|
* (at your option) any later version. The full license is in LICENSE file
|
|
|
|
* included with this distribution, and on the openscenegraph.org website.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* OpenSceneGraph Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __OSG_TYPES
|
|
|
|
#define __OSG_TYPES
|
|
|
|
|
2015-08-10 13:04:39 +08:00
|
|
|
#if defined(_MSC_VER) && _MSC_VER < 1600
|
2016-03-02 17:18:26 +08:00
|
|
|
typedef signed __int8 int8_t;
|
|
|
|
typedef unsigned __int8 uint8_t;
|
|
|
|
typedef signed __int16 int16_t;
|
2014-07-22 00:36:47 +08:00
|
|
|
typedef unsigned __int16 uint16_t;
|
2016-03-02 17:18:26 +08:00
|
|
|
typedef signed __int32 int32_t;
|
2014-07-22 00:36:47 +08:00
|
|
|
typedef unsigned __int32 uint32_t;
|
2016-03-02 17:18:26 +08:00
|
|
|
typedef signed __int64 int64_t;
|
2014-07-22 00:36:47 +08:00
|
|
|
typedef unsigned __int64 uint64_t;
|
|
|
|
#else
|
|
|
|
#include <stdint.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // __OSG_TYPES
|